style: comparsion model card title

This commit is contained in:
jialin
2024-10-24 11:54:21 +08:00
parent b463eedb3f
commit 6eaf5bb463
2 changed files with 7 additions and 1 deletions
@@ -382,7 +382,7 @@ const ModelItem: React.FC<ModelItemProps> = forwardRef(
<div className="header">
<span className="title">
<Select
style={{ minWidth: '120px', maxWidth: '180px' }}
style={{ width: '100%' }}
variant="borderless"
options={modelFullList}
onChange={handleModelChange}
@@ -13,6 +13,12 @@
justify-content: space-between;
height: 46px;
border-bottom: 1px solid var(--ant-color-border);
width: 100%;
.title {
max-width: min(100%, 180px);
min-width: 60px;
}
}
.action {