fix: Snap Dropzones

This commit is contained in:
2025-10-27 11:26:12 +01:00
parent 5ee5ced8c0
commit 16b71d9ea8
2 changed files with 3 additions and 3 deletions

View File

@ -43,12 +43,12 @@
<!-- Snap Dropzones (only visible when window drag near edge) -->
<div
class="absolute left-0 top-0 bottom-0 border-blue-500 pointer-events-none backdrop-blur-sm z-40 transition-all duration-500"
class="absolute left-0 top-0 bottom-0 border-blue-500 pointer-events-none backdrop-blur-sm z-50 transition-all duration-500 ease-in-out"
:class="showLeftSnapZone ? 'w-1/2 bg-blue-500/20 border-2' : 'w-0'"
/>
<div
class="absolute right-0 top-0 bottom-0 border-blue-500 pointer-events-none backdrop-blur-sm z-40 transition-all duration-500 ease-in-out"
class="absolute right-0 top-0 bottom-0 border-blue-500 pointer-events-none backdrop-blur-sm z-50 transition-all duration-500 ease-in-out"
:class="showRightSnapZone ? 'w-1/2 bg-blue-500/20 border-2' : 'w-0'"
/>
<!-- </Transition> -->

View File

@ -7,7 +7,7 @@
'border border-gray-200 dark:border-gray-700 transition-all ease-out duration-600 ',
'flex flex-col @container',
{ 'select-none': isResizingOrDragging },
isActive ? 'z-100' : 'z-50',
isActive ? 'z-20' : 'z-10',
]"
@mousedown="handleActivate"
>