From 2a78bf1697846a77c0c6f8098844facb7b2e2881 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Thu, 21 Nov 2024 17:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SimpleMenu/src/components/menu.less | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/SimpleMenu/src/components/menu.less b/src/components/SimpleMenu/src/components/menu.less index 49b9c611..4f0ea9c9 100644 --- a/src/components/SimpleMenu/src/components/menu.less +++ b/src/components/SimpleMenu/src/components/menu.less @@ -98,7 +98,14 @@ color: @text-color-base; list-style: none; outline: none; - + .vben-svg-icon { + vertical-align: middle; + position: relative; + top: -2px; + } + .ml-2 { + margin-left: 20px; + } // .collapse-transition { // transition: @transition-time height ease-in-out, @transition-time padding-top ease-in-out, // @transition-time padding-bottom ease-in-out; @@ -177,7 +184,7 @@ &-vertical &-submenu-title { font-size: 13px; color: @main-color; - padding-left: 26px!important; + padding-left: 12px!important; } &-vertical &-submenu-collapse { padding-left: 0px!important; @@ -190,7 +197,7 @@ // background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(217, 232, 255, 1) 100%); } &-vertical .@{menu-prefix-cls} { - padding-left: 46px; + padding-left: 35px; .ant-col-12 { width: 50%; }