Fix alignment issues with Buttons in UI

This commit is contained in:
toriset 2025-05-20 14:33:04 +03:00 committed by GitHub
parent 5613cda5cf
commit b735042ecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1221,7 +1221,7 @@
<Sparkles className="size-5" strokeWidth="1.75" />
{/if}
<span
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis translate-y-[0.5px]"
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis leading-none"
>{filter?.name}</span
>
</button>
@ -1240,7 +1240,7 @@
>
<GlobeAlt className="size-5" strokeWidth="1.75" />
<span
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis translate-y-[0.5px]"
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis leading-none"
>{$i18n.t('Web Search')}</span
>
</button>
@ -1259,7 +1259,7 @@
>
<Photo className="size-5" strokeWidth="1.75" />
<span
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis translate-y-[0.5px]"
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis leading-none"
>{$i18n.t('Image')}</span
>
</button>
@ -1278,7 +1278,7 @@
>
<CommandLine className="size-5" strokeWidth="1.75" />
<span
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis translate-y-[0.5px]"
class="hidden @xl:block whitespace-nowrap overflow-hidden text-ellipsis leading-none"
>{$i18n.t('Code Interpreter')}</span
>
</button>