style: comparsion model card title
This commit is contained in:
@@ -382,7 +382,7 @@ const ModelItem: React.FC<ModelItemProps> = forwardRef(
|
|||||||
<div className="header">
|
<div className="header">
|
||||||
<span className="title">
|
<span className="title">
|
||||||
<Select
|
<Select
|
||||||
style={{ minWidth: '120px', maxWidth: '180px' }}
|
style={{ width: '100%' }}
|
||||||
variant="borderless"
|
variant="borderless"
|
||||||
options={modelFullList}
|
options={modelFullList}
|
||||||
onChange={handleModelChange}
|
onChange={handleModelChange}
|
||||||
|
|||||||
@@ -13,6 +13,12 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 46px;
|
height: 46px;
|
||||||
border-bottom: 1px solid var(--ant-color-border);
|
border-bottom: 1px solid var(--ant-color-border);
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
max-width: min(100%, 180px);
|
||||||
|
min-width: 60px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.action {
|
.action {
|
||||||
|
|||||||
Reference in New Issue
Block a user