Browse Source

fix(icon): icon vary in size

黄兵 3 years ago
parent
commit
a2a793f84e
1 changed files with 14 additions and 0 deletions
  1. 14 0
      src/style/sidebar.scss

+ 14 - 0
src/style/sidebar.scss

@@ -334,6 +334,20 @@
         background-color: $menuHover !important;
       }
     }
+
+    .el-menu-item,
+    .el-sub-menu {
+      i {
+        width: 20px;
+        text-align: center;
+        font-size: 16px;
+      }
+
+      i.fa {
+        margin-right: 5px;
+        font-size: 16px;
+      }
+    }
   }
 
   // horizontal菜单折叠