From 57766729010b56192d8fe1fdde632f7486a17d0f Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 14 Jan 2026 15:45:28 +0800 Subject: [PATCH] =?UTF-8?q?style(antd):=20=E7=A7=BB=E9=99=A4=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E9=A1=B5=E9=9D=A2=E6=97=A0=E6=B3=95=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=B9=B6=E6=B8=85=E7=90=86=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除 overscroll-behavior 属性以修复页面滚动问题 清理不再使用的按钮和标签样式代码 --- packages/styles/src/antd/index.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/styles/src/antd/index.css b/packages/styles/src/antd/index.css index 549a017f..5fa685f8 100644 --- a/packages/styles/src/antd/index.css +++ b/packages/styles/src/antd/index.css @@ -3,16 +3,16 @@ .ant-app { width: 100%; height: 100%; - overscroll-behavior: none; + /* 会导致页面无法滚动 */ + /* overscroll-behavior: none; */ color: inherit; } -.ant-btn { +/* .ant-btn { .anticon { display: inline-flex; } - /* * 修复按钮添加图标时的位置问题 */ > svg { display: inline-block; } @@ -20,9 +20,9 @@ > svg + span { margin-inline-start: 6px; } -} +} */ -.ant-tag { +/* .ant-tag { > svg { display: inline-block; } @@ -30,7 +30,7 @@ > svg + span { margin-inline-start: 4px; } -} +} */ .ant-message-notice-content, .ant-notification-notice {