mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac: styling
This commit is contained in:
parent
fa04711680
commit
0fd5881b7d
2 changed files with 5 additions and 5 deletions
|
|
@ -1035,12 +1035,12 @@
|
|||
}}
|
||||
>
|
||||
<div
|
||||
class=" flex items-center rounded-xl py-2.5 px-2.5 w-full hover:bg-gray-100 dark:hover:bg-gray-900 transition"
|
||||
class=" flex items-center rounded-xl py-1.5 px-2.5 w-full hover:bg-gray-100 dark:hover:bg-gray-900 transition"
|
||||
>
|
||||
<div class=" self-center mr-3">
|
||||
<img
|
||||
src={$user?.profile_image_url}
|
||||
class=" max-w-[30px] object-cover rounded-full"
|
||||
class=" size-6 object-cover rounded-full"
|
||||
alt={$i18n.t('Open User Profile Menu')}
|
||||
aria-label={$i18n.t('Open User Profile Menu')}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@
|
|||
{/if}
|
||||
|
||||
{#if help}
|
||||
<hr class=" border-gray-100 dark:border-gray-800 my-1 p-0" />
|
||||
<hr class=" border-gray-50 dark:border-gray-800 my-1 p-0" />
|
||||
|
||||
<!-- {$i18n.t('Help')} -->
|
||||
|
||||
|
|
@ -186,7 +186,7 @@
|
|||
</DropdownMenu.Item>
|
||||
{/if}
|
||||
|
||||
<hr class=" border-gray-100 dark:border-gray-800 my-1 p-0" />
|
||||
<hr class=" border-gray-50 dark:border-gray-800 my-1 p-0" />
|
||||
|
||||
<DropdownMenu.Item
|
||||
class="flex rounded-md py-1.5 px-3 w-full hover:bg-gray-50 dark:hover:bg-gray-800 transition"
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
|
||||
{#if usage}
|
||||
{#if usage?.user_ids?.length > 0}
|
||||
<hr class=" border-gray-100 dark:border-gray-800 my-1 p-0" />
|
||||
<hr class=" border-gray-50 dark:border-gray-800 my-1 p-0" />
|
||||
|
||||
<Tooltip
|
||||
content={usage?.model_ids && usage?.model_ids.length > 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue