fix: drag and drop styling issue

This commit is contained in:
Timothy J. Baek 2024-05-03 00:16:43 -07:00
parent c2c89525bb
commit 0921317b2b

View file

@ -411,7 +411,9 @@
{#if dragged}
<div
class="fixed lg:w-[calc(100%-260px)] w-full h-full flex z-50 touch-none pointer-events-none"
class="fixed {$showSidebar
? 'left-0 lg:left-[260px] lg:w-[calc(100%-260px)]'
: 'left-0'} w-full h-full flex z-50 touch-none pointer-events-none"
id="dropzone"
role="region"
aria-label="Drag and Drop Container"