فهرست منبع

Switch: fix style

Leopoldthecoder 7 سال پیش
والد
کامیت
0d952b7917
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      packages/theme-chalk/src/switch.scss

+ 2 - 1
packages/theme-chalk/src/switch.scss

@@ -2,7 +2,8 @@
 @import "common/var";
 
 @include b(switch) {
-  display: inline-block;
+  display: inline-flex;
+  align-items: center;
   position: relative;
   font-size: $--switch-font-size;
   line-height: $--switch-height;