From 7d453fdca78c88910fd720803f32b0ebc908262d Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sun, 7 Nov 2021 21:11:23 +0800 Subject: [PATCH] fix: update --- src/style/sidebar.scss | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/style/sidebar.scss b/src/style/sidebar.scss index 025e6ef2a..8664f56cb 100644 --- a/src/style/sidebar.scss +++ b/src/style/sidebar.scss @@ -17,10 +17,6 @@ } } - .el-sub-menu__icon-arrow { - position: absolute; - } - .main-container { height: 100vh; min-height: 100%; @@ -405,6 +401,11 @@ // horizontal菜单折叠 .el-menu--horizontal { + & > .el-sub-menu .el-sub-menu__icon-arrow { + position: static !important; + margin-top: 0; + } + .el-menu--popup { background-color: $subMenuBg !important; @@ -578,14 +579,6 @@ body[layout="vertical"] { width: 54px !important; } - // .mobile { - // width: 0 !important; - - // .sidebar-container { - // width: 0 !important; - // } - // } - .main-container { margin-left: 54px; }