Browse Source

perf(styles): 优化图标按钮全局样式

wangcong 2 tháng trước cách đây
mục cha
commit
bfe17f8532
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/styles/global.scss

+ 4 - 3
src/styles/global.scss

@@ -69,11 +69,12 @@
 }
 
 .icon-button {
-  display: inline-flex;
-  align-items: center;
-  justify-content: center;
   font-size: 16px;
 
+  i {
+    vertical-align: -0.15em;
+  }
+
   span {
     margin-left: 8px;
   }