🎈 perf:优化垂直菜单可用宽度

pull/519/head
preschooler 2024-08-22 14:25:31 +08:00
parent fc5e37dd21
commit 64168a9f39
1 changed files with 10 additions and 0 deletions

View File

@ -195,6 +195,16 @@ $prefix-cls: #{$namespace}-menu;
}
}
//
&__vertical {
:deep(.#{$elNamespace}-menu--vertical) {
&:not(.#{$elNamespace}-menu--collapse) .#{$elNamespace}-sub-menu__title,
.#{$elNamespace}-menu-item {
padding-right: 0;
}
}
}
//
&__horizontal {
height: calc(var(--top-tool-height)) !important;