Merge pull request #179 from ollama-webui/dev

fix: message role title styling
This commit is contained in:
Timothy Jaeryang Baek 2023-12-04 03:10:50 -05:00 committed by GitHub
commit 68eb096177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}
{selectedModelfile.title}
<span class="capitalize">
{selectedModelfile.title}
</span>
{:else}
Ollama <span class=" text-gray-500 text-sm font-medium"
>{message.model ? ` ${message.model}` : ''}</span