Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
0f2360a3
Commit
0f2360a3
authored
Dec 19, 2023
by
Timothy J. Baek
Browse files
fix: file drag and drop overlay
parent
03dc1058
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+2
-2
No files found.
src/lib/components/chat/MessageInput.svelte
View file @
0f2360a3
...
@@ -132,13 +132,13 @@
...
@@ -132,13 +132,13 @@
{#if dragged}
{#if dragged}
<div
<div
class="
absolute
w-full h-full flex z-50 touch-none pointer-events-none"
class="
fixed
w-full h-full flex z-50 touch-none pointer-events-none"
id="dropzone"
id="dropzone"
role="region"
role="region"
aria-label="Drag and Drop Container"
aria-label="Drag and Drop Container"
>
>
<div class="absolute rounded-xl w-full h-full backdrop-blur bg-gray-800/40 flex justify-center">
<div class="absolute rounded-xl w-full h-full backdrop-blur bg-gray-800/40 flex justify-center">
<div class="m-auto pt-4
8
flex flex-col justify-center">
<div class="m-auto pt-
6
4 flex flex-col justify-center">
<div class="max-w-md">
<div class="max-w-md">
<div class=" text-center text-6xl mb-3">🏞️</div>
<div class=" text-center text-6xl mb-3">🏞️</div>
<div class="text-center dark:text-white text-2xl font-semibold z-50">Add Images</div>
<div class="text-center dark:text-white text-2xl font-semibold z-50">Add Images</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment