Improves click handling on calendar elements

Removes `pointer-events: none` from various calendar elements.
This ensures that the elements are correctly interactive,
allowing the user to click on them as intended.
This commit is contained in:
Janus C. H. Knudsen 2025-10-07 17:36:03 +02:00
parent 3982e2f25f
commit e2cf4d1e04
5 changed files with 0 additions and 17 deletions

View file

@ -55,7 +55,6 @@ swp-day-columns swp-event {
&.dragging {
position: absolute;
z-index: 999999;
pointer-events: none;
opacity: 0.8;
left: 2px;
right: 2px;
@ -80,7 +79,6 @@ swp-resize-indicator {
height: 8px;
background: #6b7280;
border-radius: 4px;
pointer-events: none;
z-index: 30;
opacity: 0;
animation: fadeIn 0.2s ease forwards;
@ -198,7 +196,6 @@ swp-event-preview {
background: rgba(33, 150, 243, 0.1);
border: 2px dashed var(--color-primary);
border-radius: 4px;
pointer-events: none;
/* Position via CSS variables */
top: calc(var(--preview-start) * var(--minute-height));