diff --git a/src/theme/element.scss b/src/theme/element.scss index 2ede4a2e..09154f23 100644 --- a/src/theme/element.scss +++ b/src/theme/element.scss @@ -126,6 +126,8 @@ // 第三方图标字体间距/大小设置 .el-menu-item .iconfont, .el-sub-menu .iconfont, +.el-menu-item .svg-icon, +.el-sub-menu .svg-icon, .el-menu-item .fa, .el-sub-menu .fa { @include generalIcon; diff --git a/src/theme/mixins/index.scss b/src/theme/mixins/index.scss index 61f3c6bd..ed5f1069 100644 --- a/src/theme/mixins/index.scss +++ b/src/theme/mixins/index.scss @@ -5,7 +5,7 @@ display: inline-block; vertical-align: middle; margin-right: 5px; - width: 24px; + width: 24px !important; text-align: center; justify-content: center; }