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
63182828
Commit
63182828
authored
Apr 30, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
3043e434
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
82 deletions
+84
-82
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+83
-81
src/lib/components/chat/Messages/Placeholder.svelte
src/lib/components/chat/Messages/Placeholder.svelte
+1
-1
No files found.
src/lib/components/chat/Messages.svelte
View file @
63182828
...
...
@@ -277,7 +277,8 @@
// };
</script>
{#if messages.length == 0}
<div class="h-full">
{#if messages.length == 0}
<Placeholder
models={selectedModels}
modelfiles={selectedModelfiles}
...
...
@@ -295,7 +296,7 @@
}
}}
/>
{:else}
{:else}
<div class="pt-2 pb-10">
{#key chatId}
{#each messages as message, messageIdx}
...
...
@@ -358,4 +359,5 @@
{/if}
{/key}
</div>
{/if}
{/if}
</div>
src/lib/components/chat/Messages/Placeholder.svelte
View file @
63182828
...
...
@@ -24,7 +24,7 @@
</script>
{#if models.length > 0}
<div class="
my-auto
text-center p
b-10
md:p
b
-3
2
">
<div class=" text-center p
y-24
md:p
y
-3
6
">
<div class="m-auto max-w-3xl px-8">
<div class="flex justify-start mt-8">
<div class="flex -space-x-4 mb-0.5">
...
...
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