ソースを参照

Fix rendering of multiline text

Julian Waller 8 年 前
コミット
52c1260130
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/less/bootstrap3/bootstrap-switch.less

+ 2 - 1
src/less/bootstrap3/bootstrap-switch.less

@@ -28,7 +28,8 @@
   .@{bootstrap-switch-base}-label {
     .box-sizing(border-box);
     cursor: pointer;
-    display: inline-block !important;
+    display: table-cell;
+    vertical-align: middle;
     padding: @padding-base-vertical @padding-base-horizontal;
     font-size: @font-size-base;
     line-height: @line-height-computed;