From 9db7aa50a1fbaf6d2f03df0fa4f7e72282f796ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E9=BE=99?= Date: Tue, 5 Apr 2022 00:37:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0Naiv?= =?UTF-8?q?e=20UI=E7=89=88=E6=9C=AC=E5=90=8E=E8=8F=9C=E5=8D=95=E9=AB=98?= =?UTF-8?q?=E4=BA=AE=E6=A0=B7=E5=BC=8F=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/sidebar/SideMenu.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/layout/components/sidebar/SideMenu.vue b/src/layout/components/sidebar/SideMenu.vue index dac3db6..14bc745 100644 --- a/src/layout/components/sidebar/SideMenu.vue +++ b/src/layout/components/sidebar/SideMenu.vue @@ -98,18 +98,15 @@ function handleMenuSelect(key, item) { .n-menu { margin-top: 10px; padding-left: 10px; - .n-menu-item { - margin-top: 0; - position: relative; + .n-menu-item-content { &::before { left: 0; right: 0; border-radius: 0; background-color: unset !important; } - &:hover, - &.n-menu-item--selected { + &.n-menu-item-content--selected { border-radius: 0 !important; &::before {