浏览代码

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;