fix(ui): Optimize UI component styles and layouts (#24090) (#24092)

This commit is contained in:
HyaCinth
2025-08-18 15:56:10 +08:00
committed by GitHub
parent f5033c5a0e
commit 5e8fe30035
4 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ const Tag = ({ text, className }: { text: string; className?: string }) => {
return (
<div className={cn('inline-flex items-center gap-x-0.5', className)}>
<span className='text-xs font-medium text-text-quaternary'>#</span>
<span className='line-clamp-1 max-w-12 shrink-0 text-xs text-text-tertiary'>{text}</span>
<span className='max-w-12 shrink-0 truncate text-xs text-text-tertiary'>{text}</span>
</div>
)
}