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
3043e434
Commit
3043e434
authored
Apr 30, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
595ebd11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/lib/components/chat/MessageInput/Suggestions.svelte
src/lib/components/chat/MessageInput/Suggestions.svelte
+1
-1
src/lib/components/chat/Messages/Placeholder.svelte
src/lib/components/chat/Messages/Placeholder.svelte
+2
-2
No files found.
src/lib/components/chat/MessageInput/Suggestions.svelte
View file @
3043e434
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
{#each prompts as prompt, promptIdx}
{#each prompts as prompt, promptIdx}
<div class="shrink-0">
<div class="shrink-0">
<button
<button
class="flex flex-1 shrink-0 w-64 justify-between h-full px-5 py-3 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-
3
xl transition group"
class="flex flex-1 shrink-0 w-64 justify-between h-full px-5 py-3 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-
2
xl transition group"
on:click={() => {
on:click={() => {
submitPrompt(prompt.content);
submitPrompt(prompt.content);
}}
}}
...
...
src/lib/components/chat/Messages/Placeholder.svelte
View file @
3043e434
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</script>
</script>
{#if models.length > 0}
{#if models.length > 0}
<div class=" my-auto text-center pb-10 md:pb-2
4
">
<div class=" my-auto text-center pb-10 md:pb-
3
2">
<div class="m-auto max-w-3xl px-8">
<div class="m-auto max-w-3xl px-8">
<div class="flex justify-start mt-8">
<div class="flex justify-start mt-8">
<div class="flex -space-x-4 mb-0.5">
<div class="flex -space-x-4 mb-0.5">
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
{:else}
{:else}
<div class=" line-clamp-1">{$i18n.t('Hello, {{name}}', { name: $user.name })}</div>
<div class=" line-clamp-1">{$i18n.t('Hello, {{name}}', { name: $user.name })}</div>
<div class=" font-medium text-gray-400 dark:">
<div class=" font-medium text-gray-400 dark:
text-gray-500
">
{$i18n.t('How can I help you today?')}
{$i18n.t('How can I help you today?')}
</div>
</div>
{/if}
{/if}
...
...
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