!519 【优化】优化垂直菜单可用宽度

Merge pull request !519 from 半栈幼儿员/hotfix/menu
This commit is contained in:
芋道源码
2024-08-23 11:23:33 +00:00
committed by Gitee

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;