瀏覽代碼

fix(icon): ensure the menu icon style is correct, fix #425

Vben 4 年之前
父節點
當前提交
5c57a1dda1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/Icon/src/SvgIcon.vue

+ 1 - 0
src/components/Icon/src/SvgIcon.vue

@@ -47,6 +47,7 @@
   @prefix-cls: ~'@{namespace}-svg-icon';
 
   .@{prefix-cls} {
+    display: inline-block;
     overflow: hidden;
     vertical-align: -0.15em;
     fill: currentColor;