fix: 使用滚动条显示不全 #176

This commit is contained in:
kangfenmao 2024-10-12 17:42:16 +08:00
parent 969cf8ea21
commit bea95fc52f
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* 全局初始化滚动条样式 */ /* 全局初始化滚动条样式 */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 2px; width: 4px;
height: 2px; height: 2px;
} }

View File

@ -133,7 +133,6 @@ const StyledMenu = styled(Menu)`
padding: 5px; padding: 5px;
margin-top: -10px; margin-top: -10px;
max-height: calc(60vh - 50px); max-height: calc(60vh - 50px);
overflow-y: auto;
.ant-menu-item-group-title { .ant-menu-item-group-title {
padding: 5px 10px 0; padding: 5px 10px 0;