Improves event drag and drop

Enhances the event drag and drop functionality by setting the initial position of the dragged event to prevent it from jumping to the top of the column.
Also adjust event transition for a smoother user experience.
Removes unused resize logic.
This commit is contained in:
Janus C. H. Knudsen 2025-10-08 21:50:41 +02:00
parent 1e5b3166b2
commit e83753a7d2
3 changed files with 12 additions and 183 deletions

View file

@ -6,7 +6,7 @@ swp-day-columns swp-event {
border-radius: 3px;
overflow: hidden;
cursor: pointer;
transition: box-shadow 150ms ease, transform 150ms ease;
transition: background-color 200ms ease, box-shadow 150ms ease, transform 150ms ease;
z-index: 10;
left: 2px;
right: 2px;