fix(style): fix some styles
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user