refactor(tags): use TextAttribute/ThemeTag, drop redundant fit-content

This commit is contained in:
jialin
2026-07-17 17:04:57 +08:00
committed by jialin
parent 2164a8198b
commit c6b89f688e
4 changed files with 25 additions and 41 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ const ModelTag: React.FC<ModelTagProps> = ({ categoryKey, size }) => {
opacity: 1,
paddingInline: 8,
borderRadius: 12,
transform: 'scale(0.9)'
transform: 'scale(0.9)',
backgroundColor: 'transparent'
}}
color={config.color}
>