Merge pull request #14072 from torisetxd/alignment-fix

fix: Alignment issues with Text in Buttons in UI
This commit is contained in:
Tim Jaeryang Baek 2025-05-20 17:24:49 +04:00 committed by GitHub
commit f9a66afe76
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>