From ca43c0b4b2d9125d96307493c288111a897c53d2 Mon Sep 17 00:00:00 2001 From: jialin Date: Wed, 19 Nov 2025 11:44:35 +0800 Subject: [PATCH] fix(style): fix some styles --- src/pages/llmodels/components/compatible-alert.tsx | 3 +++ src/pages/llmodels/components/deploy-builtin-modal.tsx | 2 +- src/pages/llmodels/components/deploy-modal.tsx | 2 +- src/pages/llmodels/forms/index.tsx | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) 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();