左侧栏初步

This commit is contained in:
禺狨
2023-03-02 14:25:18 +08:00
parent a856fb83c4
commit 569d478e15
12 changed files with 102 additions and 64 deletions

27
src/utils/index.css Normal file
View File

@@ -0,0 +1,27 @@
.ant-menu-item {
width: calc(100% - 32px) !important;
margin-left: 16px !important;
margin-right: 16px !important;
}
.ant-menu-submenu {
width: calc(100% - 24px) !important;
margin-left: 12px !important;
margin-right: 12px !important;
}
.ant-menu,
.ant-menu-sub,
.ant-menu-inline {
background-color: #ffffff !important;
}
.ant-menu-item-selected {
background-color: #ff4d4f !important;
color: white !important;
}
.ant-menu-item-active {
background-color: #ff4d4f !important;
color: white !important;
}