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
b55ec6ce
Commit
b55ec6ce
authored
Nov 30, 2023
by
Timothy J. Baek
Browse files
fix: message input styling
parent
37096ec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+6
-3
No files found.
src/lib/components/chat/MessageInput.svelte
View file @
b55ec6ce
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
};
};
</script>
</script>
<div class="fixed bottom-0 w-full">
<div class="fixed bottom-0 w-full
bg-white dark:bg-gray-800
">
<div class="
pt-5
">
<div class="
absolute right-0 left-0 bottom-0 mb-20
">
<div class="max-w-3xl px-2.5 pt-2.5 -mb-0.5 mx-auto inset-x-0">
<div class="max-w-3xl px-2.5 pt-2.5 -mb-0.5 mx-auto inset-x-0">
{#if messages.length == 0 && suggestions !== 'false'}
{#if messages.length == 0 && suggestions !== 'false'}
<Suggestions {submitPrompt} />
<Suggestions {submitPrompt} />
...
@@ -115,7 +115,10 @@
...
@@ -115,7 +115,10 @@
</button>
</button>
</div>
</div>
{/if}
{/if}
</div>
</div>
<div>
<div class="max-w-3xl px-2.5 -mb-0.5 mx-auto inset-x-0">
<div class="bg-gradient-to-t from-white dark:from-gray-800 from-40% pb-2">
<div class="bg-gradient-to-t from-white dark:from-gray-800 from-40% pb-2">
<input
<input
bind:this={filesInputElement}
bind:this={filesInputElement}
...
...
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