refac: styling
This commit is contained in:
@@ -1035,12 +1035,12 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<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">
|
<div class=" self-center mr-3">
|
||||||
<img
|
<img
|
||||||
src={$user?.profile_image_url}
|
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')}
|
alt={$i18n.t('Open User Profile Menu')}
|
||||||
aria-label={$i18n.t('Open User Profile Menu')}
|
aria-label={$i18n.t('Open User Profile Menu')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if help}
|
{#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')} -->
|
<!-- {$i18n.t('Help')} -->
|
||||||
|
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
</DropdownMenu.Item>
|
</DropdownMenu.Item>
|
||||||
{/if}
|
{/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
|
<DropdownMenu.Item
|
||||||
class="flex rounded-md py-1.5 px-3 w-full hover:bg-gray-50 dark:hover:bg-gray-800 transition"
|
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}
|
||||||
{#if usage?.user_ids?.length > 0}
|
{#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
|
<Tooltip
|
||||||
content={usage?.model_ids && usage?.model_ids.length > 0
|
content={usage?.model_ids && usage?.model_ids.length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user