Selaa lähdekoodia

Fix rendering of multiline text

Julian Waller 8 vuotta sitten
vanhempi
commit
52c1260130
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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;