Procházet zdrojové kódy

Fix rendering of multiline text

Julian Waller před 8 roky
rodič
revize
52c1260130
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;