左侧菜单样式优化

This commit is contained in:
禺狨 2023-03-09 15:45:22 +08:00
parent 4a871f1abe
commit 67fa3093ab
2 changed files with 7 additions and 3 deletions

View File

@ -85,6 +85,7 @@ export const LeftMenu: React.FC = () => {
style={{ style={{
width: 200, width: 200,
background: "#ffffff", background: "#ffffff",
}} }}
openKeys={openKeys} openKeys={openKeys}
onOpenChange={onOpenChange} onOpenChange={onOpenChange}

View File

@ -156,7 +156,10 @@ textarea.ant-input {
.none { .none {
display: none; display: none;
} }
.ant-menu-title-content {
.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title { font-weight: 600;
font-weight: 600 !important; }
.ant-menu-item-only-child > .ant-menu-title-content {
font-weight: 400 !important;
} }