From 64168a9f39c68bd8c012b5af443411609d29dbb5 Mon Sep 17 00:00:00 2001 From: preschooler Date: Thu, 22 Aug 2024 14:25:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=E4=BC=98=E5=8C=96=E5=9E=82?= =?UTF-8?q?=E7=9B=B4=E8=8F=9C=E5=8D=95=E5=8F=AF=E7=94=A8=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Menu/src/Menu.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/layout/components/Menu/src/Menu.vue b/src/layout/components/Menu/src/Menu.vue index 77f9a307..94a1da4a 100644 --- a/src/layout/components/Menu/src/Menu.vue +++ b/src/layout/components/Menu/src/Menu.vue @@ -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;