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
8e83a201
Commit
8e83a201
authored
Dec 04, 2023
by
Timothy J. Baek
Browse files
fix: message role title styling
parent
62149ef7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+4
-2
No files found.
src/lib/components/chat/Messages.svelte
View file @
8e83a201
...
...
@@ -359,11 +359,13 @@
</div>
<div
class=
"w-full"
>
<div
class=
" self-center font-bold mb-0.5
capitalize
"
>
<div
class=
" self-center font-bold mb-0.5"
>
{#if message.role === 'user'}
You
{:else if selectedModelfile}
<span
class=
"capitalize"
>
{selectedModelfile.title}
</span>
{:else}
Ollama
<span
class=
" text-gray-500 text-sm font-medium"
>
{message.model ? ` ${message.model}` : ''}
</span
...
...
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