Эх сурвалжийг харах

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

wangcong 2 сар өмнө
parent
commit
bfe17f8532

+ 4 - 3
src/styles/global.scss

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