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
0b5344c2
Commit
0b5344c2
authored
Feb 14, 2024
by
Timothy J. Baek
Browse files
refac: placeholder styling
parent
a2a433b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
src/lib/components/chat/Messages/Placeholder.svelte
src/lib/components/chat/Messages/Placeholder.svelte
+4
-8
static/favicon.png
static/favicon.png
+0
-0
static/ollama.png
static/ollama.png
+0
-0
No files found.
src/lib/components/chat/Messages/Placeholder.svelte
View file @
0b5344c2
...
...
@@ -18,7 +18,7 @@
{#if models.length > 0}
<div class="m-auto text-center max-w-md pb-56 px-2">
<div class="flex justify-center mt-8">
<div class="flex -space-x-1
0
">
<div class="flex -space-x-
4 mb-
1">
{#each models as model, modelIdx}
<button
on:click={() => {
...
...
@@ -29,18 +29,14 @@
<img
src={modelfiles[model]?.imageUrl ?? './favicon.png'}
alt="modelfile"
class=" w-20 mb-2 rounded-full {models.length > 1
? ' border-[5px] border-white dark:border-gray-900'
: ''}"
class=" w-14 rounded-full border-[1px] border-gray-200 dark:border-none"
draggable="false"
/>
{:else}
<img
src={models.length === 1 ? '/favicon.png' : '/favicon.png'}
class=" w-20 mb-2 {models.length === 1
? ''
: 'border-[5px] border-white dark:border-gray-900'} rounded-full"
alt="ollama"
class=" w-14 rounded-full border-[1px] border-gray-200 dark:border-none"
alt="logo"
draggable="false"
/>
{/if}
...
...
static/favicon.png
View replaced file @
a2a433b0
View file @
0b5344c2
13.2 KB
|
W:
|
H:
7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/ollama.png
deleted
100644 → 0
View file @
a2a433b0
7.61 KB
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