fix(style): markdown viewer text-intent

This commit is contained in:
jialin
2024-09-29 16:54:00 +08:00
parent 5c2503b2a8
commit 69ffdd4604
10 changed files with 63 additions and 54 deletions
+11 -8
View File
@@ -519,17 +519,20 @@ const Models: React.FC<ModelsProps> = ({
span={5}
render={(text, record: ListItem) => {
return (
<span className="flex-center" style={{ maxWidth: '100%' }}>
<AutoTooltip className="m-r-5" ghost>
{text}
<span
className="flex-center flex-wrap"
style={{ maxWidth: '100%' }}
>
<AutoTooltip ghost>
<span className="m-r-5">{text}</span>
</AutoTooltip>
<span>
{record.embedding_only && (
<Tag style={{ marginTop: 6 }} color="geekblue">
{record.embedding_only && (
<span>
<Tag style={{ margin: 0 }} color="geekblue">
Embedding Only
</Tag>
)}
</span>
</span>
)}
</span>
);
}}