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%; }