diff --git a/src/pages/llmodels/components/compatible-alert.tsx b/src/pages/llmodels/components/compatible-alert.tsx index b0ec51b0..250784a5 100644 --- a/src/pages/llmodels/components/compatible-alert.tsx +++ b/src/pages/llmodels/components/compatible-alert.tsx @@ -119,6 +119,9 @@ const CompatibilityAlert: React.FC = (props) => { contentStyle={contentStyle} type={type || 'warning'} icon={renderIcon} + style={{ + paddingInlineEnd: showClose ? 20 : 16 + }} overlayScrollerProps={{ scrollbars: { autoHide: 'move' diff --git a/src/pages/llmodels/components/deploy-builtin-modal.tsx b/src/pages/llmodels/components/deploy-builtin-modal.tsx index 6facdeea..e85fe8c3 100644 --- a/src/pages/llmodels/components/deploy-builtin-modal.tsx +++ b/src/pages/llmodels/components/deploy-builtin-modal.tsx @@ -369,7 +369,7 @@ const AddModal: React.FC = (props) => { }); }} warningStatus={warningStatus} - contentStyle={{ paddingInline: 0 }} + contentStyle={{ paddingInline: '0 6px' }} > = (props) => { }); }} warningStatus={warningStatus} - contentStyle={{ paddingInline: 0 }} + contentStyle={{ paddingInline: '0 6px' }} > = forwardRef((props, ref) => { } = props; const { getScrollElementScrollableHeight, osInstance, scrollEventElement } = useWrapperContext(); - console.log('data form render'); const { backendOptions, getBackendOptions } = useQueryBackends(); const { getGPUOptionList, gpuOptions, workerLabelOptions } = useGenerateGPUOptions();