소스 검색

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;