From e28760d921103776d5c83f0ae30238a0d62734ae Mon Sep 17 00:00:00 2001 From: itskaiway Date: Sat, 3 Jul 2021 21:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E7=94=B1=E5=BC=95?= =?UTF-8?q?=E5=85=A5=E7=AC=AC=E4=B8=89=E6=96=B9icon=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=A1=A8=E7=8E=B0=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/element.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/theme/element.scss b/src/theme/element.scss index 30660ec0..749b8716 100644 --- a/src/theme/element.scss +++ b/src/theme/element.scss @@ -833,6 +833,22 @@ } } // 第三方图标字体间距/大小设置 +@mixin generalIcon { + font-size: 14px !important; + display: inline-block; + vertical-align: middle; + margin-right: 5px; + width: 24px; + text-align: center; +} +.el-menu-item .iconfont, +.el-submenu .iconfont { + @include generalIcon; +} +.el-menu-item .fa, +.el-submenu .fa { + @include generalIcon; +} .el-menu-item .iconfont, .el-submenu .iconfont { font-size: 14px !important;