forked from open-webui/open-webui
Merge pull request #179 from ollama-webui/dev
fix: message role title styling
This commit is contained in:
commit
68eb096177
1 changed files with 4 additions and 2 deletions
|
@ -359,11 +359,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="w-full">
|
<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'}
|
{#if message.role === 'user'}
|
||||||
You
|
You
|
||||||
{:else if selectedModelfile}
|
{:else if selectedModelfile}
|
||||||
{selectedModelfile.title}
|
<span class="capitalize">
|
||||||
|
{selectedModelfile.title}
|
||||||
|
</span>
|
||||||
{:else}
|
{:else}
|
||||||
Ollama <span class=" text-gray-500 text-sm font-medium"
|
Ollama <span class=" text-gray-500 text-sm font-medium"
|
||||||
>{message.model ? ` ${message.model}` : ''}</span
|
>{message.model ? ` ${message.model}` : ''}</span
|
||||||
|
|
Loading…
Reference in a new issue