fix(web): align tag filter dropdown icon (#36041)

This commit is contained in:
yyh 2026-05-11 16:42:09 +08:00 committed by GitHub
parent 7fc40e6c9e
commit 6164408da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,11 +78,11 @@ export const TagFilter = ({
!!value.length && 'pr-6 shadow-xs',
)}
>
<span className="flex min-w-0 items-center gap-1">
<span className="flex w-full min-w-0 items-center gap-1">
<span className="p-px">
<Tag01Icon className="h-3.5 w-3.5 text-text-tertiary" aria-hidden="true" />
</span>
<span className="min-w-0 truncate text-[13px] leading-4.5 text-text-secondary">
<span className="min-w-0 grow truncate text-[13px] leading-4.5 text-text-secondary">
{!value.length && t('tag.placeholder', { ns: 'common' })}
{!!value.length && currentTagName}
</span>