From e3c240f1398b9a1689229f049bc54e87d1ac865c Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 22 Jun 2022 22:45:19 +0800 Subject: [PATCH] style: fix --- src/style/sidebar.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/style/sidebar.scss b/src/style/sidebar.scss index e992a7099..c0cc4e8ca 100644 --- a/src/style/sidebar.scss +++ b/src/style/sidebar.scss @@ -164,7 +164,7 @@ /* 无子集的激活菜单背景 */ .is-active.submenu-title-noDropdown.outer-most { - background: $subMenuActiveBg; + background: $subMenuActiveBg !important; } /* 有子集的激活菜单背景 */ @@ -586,6 +586,10 @@ body[layout="vertical"] { .sidebar-container { width: 54px !important; + + .is-active.submenu-title-noDropdown.outer-most { + background: transparent !important; + } } .main-container { @@ -662,6 +666,10 @@ body[layout="mix"] { .sidebar-container { width: 54px !important; + + .is-active.submenu-title-noDropdown.outer-most { + background: transparent !important; + } } .main-container { @@ -699,10 +707,6 @@ body[layout="mix"] { .el-sub-menu__title [class^="el-icon"] { right: 2px; } - - .submenu-title-noDropdown { - background: transparent !important; - } } } }