Merge pull request #1942 from open-webui/dev

fix: drag and drop styling issue
This commit is contained in:
Timothy Jaeryang Baek 2024-05-03 00:16:59 -07:00 committed by GitHub
commit 30b053116d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"