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
b79c0602
Commit
b79c0602
authored
Dec 22, 2023
by
Timothy J. Baek
Browse files
fix: custom suggestion prompts styling
parent
ecc2466f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+1
-1
src/lib/components/chat/MessageInput/Suggestions.svelte
src/lib/components/chat/MessageInput/Suggestions.svelte
+1
-1
No files found.
src/lib/components/chat/MessageInput.svelte
View file @
b79c0602
...
...
@@ -155,7 +155,7 @@
<div class="fixed bottom-0 w-full">
<div class="px-2.5 pt-2.5 -mb-0.5 mx-auto inset-x-0 bg-transparent flex justify-center">
{#if messages.length == 0 && suggestionPrompts.length !== 0}
<div class="max-w-3xl">
<div class="max-w-3xl
w-full
">
<Suggestions {suggestionPrompts} {submitPrompt} />
</div>
{/if}
...
...
src/lib/components/chat/MessageInput/Suggestions.svelte
View file @
b79c0602
...
...
@@ -3,7 +3,7 @@
export let suggestionPrompts = [];
</script>
<div class=" flex flex-wrap-reverse mb-3 md:p-1 text-left">
<div class=" flex flex-wrap-reverse mb-3 md:p-1 text-left
w-full
">
{#each suggestionPrompts as prompt, promptIdx}
<div class="{promptIdx > 1 ? 'hidden sm:inline-flex' : ''} basis-full sm:basis-1/2 p-[5px]">
<button
...
...
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