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

Merge pull request !519 from 半栈幼儿员/hotfix/menu
pull/510/MERGE
芋道源码 2024-08-23 11:23:33 +00:00 committed by Gitee
commit 24e1e2f26c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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;