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" /> <Sparkles className="size-5" strokeWidth="1.75" />
{/if} {/if}
<span <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 >{filter?.name}</span
> >
</button> </button>
@ -1240,7 +1240,7 @@
> >
<GlobeAlt className="size-5" strokeWidth="1.75" /> <GlobeAlt className="size-5" strokeWidth="1.75" />
<span <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 >{$i18n.t('Web Search')}</span
> >
</button> </button>
@ -1259,7 +1259,7 @@
> >
<Photo className="size-5" strokeWidth="1.75" /> <Photo className="size-5" strokeWidth="1.75" />
<span <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 >{$i18n.t('Image')}</span
> >
</button> </button>
@ -1278,7 +1278,7 @@
> >
<CommandLine className="size-5" strokeWidth="1.75" /> <CommandLine className="size-5" strokeWidth="1.75" />
<span <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 >{$i18n.t('Code Interpreter')}</span
> >
</button> </button>