fix: gpu selector height

This commit is contained in:
jialin
2026-06-22 15:25:18 +08:00
committed by jialin
parent 84304eadb7
commit 03842d1741
5 changed files with 36 additions and 24 deletions
+8 -1
View File
@@ -175,7 +175,7 @@ const ScheduleTypeForm: React.FC = () => {
<SealCascader
required
showSearch
expandTrigger="hover"
expandTrigger="click"
multiple={
form.getFieldValue('backend') !== backendOptionsMap.voxBox
}
@@ -184,6 +184,13 @@ const ScheduleTypeForm: React.FC = () => {
root: 'cascader-popup-wrapper gpu-selector'
}
}}
styles={{
popup: {
listItem: {
maxWidth: 'unset'
}
}
}}
maxTagCount={1}
label={intl.formatMessage({ id: 'models.form.gpuselector' })}
options={gpuOptions}