Merge pull request #5185 from open-webui/main

refac: styling
This commit is contained in:
Timothy Jaeryang Baek 2024-09-05 17:04:10 +02:00 committed by GitHub
commit 3b868be77b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
{/if} {/if}
<div <div
class=" mt-2 mb-4 text-3xl text-gray-800 dark:text-gray-100 font-semibold text-left flex items-center gap-4 font-primary" class=" mt-2 mb-4 text-3xl text-gray-800 dark:text-gray-100 font-medium text-left flex items-center gap-4 font-primary"
> >
<div> <div>
<div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }}> <div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }}>

View File

@ -108,7 +108,7 @@
</div> </div>
{#if showSetDefault && !$mobile} {#if showSetDefault && !$mobile}
<div class="text-left mt-0.5 ml-1 text-[0.7rem] text-gray-500 font-primary"> <div class="text-left mt-[1px] ml-1 text-[0.7rem] text-gray-500 font-primary">
<button on:click={saveDefaultModel}> {$i18n.t('Set as default')}</button> <button on:click={saveDefaultModel}> {$i18n.t('Set as default')}</button>
</div> </div>
{/if} {/if}

View File

@ -231,7 +231,7 @@
> >
<DropdownMenu.Trigger class="relative w-full font-primary" aria-label={placeholder}> <DropdownMenu.Trigger class="relative w-full font-primary" aria-label={placeholder}>
<div <div
class="flex w-full text-left px-0.5 outline-none bg-transparent truncate text-lg font-semibold placeholder-gray-400 focus:outline-none" class="flex w-full text-left px-0.5 outline-none bg-transparent truncate text-lg font-medium placeholder-gray-400 focus:outline-none"
> >
{#if selectedModel} {#if selectedModel}
{selectedModel.label} {selectedModel.label}