style: model tag style
This commit is contained in:
@@ -63,6 +63,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.row-prefix-wrapper {
|
.row-prefix-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
padding-left: var(--ant-table-cell-padding-inline);
|
padding-left: var(--ant-table-cell-padding-inline);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -524,21 +524,18 @@ const Models: React.FC<ModelsProps> = ({
|
|||||||
render={(text, record: ListItem) => {
|
render={(text, record: ListItem) => {
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
className="flex-center flex-wrap"
|
className="flex-center"
|
||||||
style={{
|
style={{
|
||||||
maxWidth: '100%'
|
maxWidth: '100%'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<AutoTooltip ghost>
|
<AutoTooltip ghost>
|
||||||
<span>{text}</span>
|
<span className="m-r-5">{text}</span>
|
||||||
</AutoTooltip>
|
</AutoTooltip>
|
||||||
{record.reranker && (
|
{record.reranker && (
|
||||||
<Tag
|
<Tag
|
||||||
style={{
|
style={{
|
||||||
margin: 0,
|
margin: 0,
|
||||||
position: 'absolute',
|
|
||||||
bottom: '2px',
|
|
||||||
left: 13,
|
|
||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
transform: 'scale(0.9)'
|
transform: 'scale(0.9)'
|
||||||
}}
|
}}
|
||||||
@@ -551,9 +548,6 @@ const Models: React.FC<ModelsProps> = ({
|
|||||||
<Tag
|
<Tag
|
||||||
style={{
|
style={{
|
||||||
margin: 0,
|
margin: 0,
|
||||||
position: 'absolute',
|
|
||||||
bottom: '2px',
|
|
||||||
left: 13,
|
|
||||||
opacity: 0.8,
|
opacity: 0.8,
|
||||||
transform: 'scale(0.9)'
|
transform: 'scale(0.9)'
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user