Skip to content

Commit

Permalink
Merge pull request #1942 from open-webui/dev
Browse files Browse the repository at this point in the history
fix: drag and drop styling issue
  • Loading branch information
tjbck committed May 3, 2024
2 parents f1963c9 + 0921317 commit 30b0531
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/chat/MessageInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 30b0531

Please sign in to comment.