Explorar el Código

Switch: fix style

Leopoldthecoder hace 7 años
padre
commit
0d952b7917
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;