From 6e8adad7cafe99ffc10ff48612a61605d6868fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 22 Jan 2026 13:41:01 +0800 Subject: [PATCH] Improve layout and styling of NewVersionTip component Added flexbox classes to center the update tip, adjusted Chip component styles for better alignment, and set a minimum width. Spinner size and alignment were also refined for consistency. --- .../napcat-webui-frontend/src/components/system_info.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/napcat-webui-frontend/src/components/system_info.tsx b/packages/napcat-webui-frontend/src/components/system_info.tsx index 9aa69423..8bb120a3 100644 --- a/packages/napcat-webui-frontend/src/components/system_info.tsx +++ b/packages/napcat-webui-frontend/src/components/system_info.tsx @@ -253,17 +253,17 @@ const NewVersionTip = (props: NewVersionTipProps) => { return ( -
+
- {updateStatus === 'updating' ? : 'New'} + {updateStatus === 'updating' ? : 'New'}