修复路由引入第三方icon样式表现不一致的问题

This commit is contained in:
itskaiway 2021-07-03 21:28:22 +08:00
parent 543a31b6d1
commit e28760d921

View File

@ -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-menu-item .iconfont,
.el-submenu .iconfont { .el-submenu .iconfont {
font-size: 14px !important; font-size: 14px !important;