init
This commit is contained in:
24
src/styles/iconfont.scss
Normal file
24
src/styles/iconfont.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
[class^="icon-"] {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 18px !important;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.el-menu-item [class^=icon-] {
|
||||
margin-right: 5px;
|
||||
width: 24px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.el-sub-menu [class^=icon-] {
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
width: 24px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
}
|
||||
Reference in New Issue
Block a user