style: model tag style

This commit is contained in:
jialin
2024-10-17 14:59:42 +08:00
parent 349676d908
commit 909da7edb5
2 changed files with 4 additions and 8 deletions
@@ -63,6 +63,8 @@
}
.row-prefix-wrapper {
display: flex;
align-items: center;
padding-left: var(--ant-table-cell-padding-inline);
}
}
+2 -8
View File
@@ -524,21 +524,18 @@ const Models: React.FC<ModelsProps> = ({
render={(text, record: ListItem) => {
return (
<span
className="flex-center flex-wrap"
className="flex-center"
style={{
maxWidth: '100%'
}}
>
<AutoTooltip ghost>
<span>{text}</span>
<span className="m-r-5">{text}</span>
</AutoTooltip>
{record.reranker && (
<Tag
style={{
margin: 0,
position: 'absolute',
bottom: '2px',
left: 13,
opacity: 0.8,
transform: 'scale(0.9)'
}}
@@ -551,9 +548,6 @@ const Models: React.FC<ModelsProps> = ({
<Tag
style={{
margin: 0,
position: 'absolute',
bottom: '2px',
left: 13,
opacity: 0.8,
transform: 'scale(0.9)'
}}