style(antd): 移除导致页面无法滚动的样式并清理注释代码
移除 overscroll-behavior 属性以修复页面滚动问题 清理不再使用的按钮和标签样式代码
This commit is contained in:
parent
35e8549dcc
commit
5776672901
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user