style(antd): 移除导致页面无法滚动的样式并清理注释代码

移除 overscroll-behavior 属性以修复页面滚动问题
清理不再使用的按钮和标签样式代码
This commit is contained in:
dap
2026-01-14 15:45:28 +08:00
parent 35e8549dcc
commit 5776672901

View File

@@ -3,16 +3,16 @@
.ant-app { .ant-app {
width: 100%; width: 100%;
height: 100%; height: 100%;
overscroll-behavior: none; /* 会导致页面无法滚动 */
/* overscroll-behavior: none; */
color: inherit; color: inherit;
} }
.ant-btn { /* .ant-btn {
.anticon { .anticon {
display: inline-flex; display: inline-flex;
} }
/* * 修复按钮添加图标时的位置问题 */
> svg { > svg {
display: inline-block; display: inline-block;
} }
@@ -20,9 +20,9 @@
> svg + span { > svg + span {
margin-inline-start: 6px; margin-inline-start: 6px;
} }
} } */
.ant-tag { /* .ant-tag {
> svg { > svg {
display: inline-block; display: inline-block;
} }
@@ -30,7 +30,7 @@
> svg + span { > svg + span {
margin-inline-start: 4px; margin-inline-start: 4px;
} }
} } */
.ant-message-notice-content, .ant-message-notice-content,
.ant-notification-notice { .ant-notification-notice {