style: help menu

This commit is contained in:
jialin
2024-07-10 15:41:05 +08:00
parent f103da4178
commit 0ed7568859
25 changed files with 226 additions and 678 deletions
+16 -13
View File
@@ -273,7 +273,8 @@ body {
}
.ant-pro-sider-logo {
padding-left: 20px;
padding-left: 18px;
border-block-end: none;
}
.ant-pro-sider-logo-collapsed {
@@ -320,20 +321,12 @@ body {
.ant-pro-layout {
height: 100vh;
// .ant-pro-layout-content {
// padding-block: var(--layout-content-blockpadding);
// padding-inline: var(--layout-content-inlinepadding);
// }
.ant-pro-page-container-children-container {
padding-block: var(--layout-content-blockpadding);
padding-inline: var(--layout-content-inlinepadding);
}
.ant-pro-sider-logo {
padding-left: 22px;
border-block-end: none;
}
.ant-layout {
min-height: 100vh;
}
@@ -382,6 +375,18 @@ body {
}
}
// ======== menu style end ============
.ant-menu-submenu-popup {
.ant-menu-sub {
.ant-menu-item-only-child {
height: 40px;
line-height: 40px;
.anticon {
font-size: var(--font-size-middle);
}
}
}
}
.user-menu-container {
.user-avatar.ant-menu-submenu {
@@ -425,9 +430,7 @@ body {
left: 0;
bottom: 0;
right: 0;
// background: url('@/assets/images/bg-11.png') center center no-repeat;
// background-size: cover;
background-color: #fff;
background-color: var(--color-white-1);
&::after {
content: '';