fix(style): fix some styles

This commit is contained in:
jialin
2025-11-19 11:46:18 +08:00
parent 71bbf59467
commit ca43c0b4b2
4 changed files with 5 additions and 3 deletions
@@ -119,6 +119,9 @@ const CompatibilityAlert: React.FC<CompatibilityAlertProps> = (props) => {
contentStyle={contentStyle}
type={type || 'warning'}
icon={renderIcon}
style={{
paddingInlineEnd: showClose ? 20 : 16
}}
overlayScrollerProps={{
scrollbars: {
autoHide: 'move'
@@ -369,7 +369,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
});
}}
warningStatus={warningStatus}
contentStyle={{ paddingInline: 0 }}
contentStyle={{ paddingInline: '0 6px' }}
></CompatibilityAlert>
<ModalFooter
onCancel={handleCancel}
@@ -601,7 +601,7 @@ const AddModal: FC<AddModalProps> = (props) => {
});
}}
warningStatus={warningStatus}
contentStyle={{ paddingInline: 0 }}
contentStyle={{ paddingInline: '0 6px' }}
></CompatibilityAlert>
<ModalFooter
onCancel={handleCancel}
-1
View File
@@ -105,7 +105,6 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
} = props;
const { getScrollElementScrollableHeight, osInstance, scrollEventElement } =
useWrapperContext();
console.log('data form render');
const { backendOptions, getBackendOptions } = useQueryBackends();
const { getGPUOptionList, gpuOptions, workerLabelOptions } =
useGenerateGPUOptions();