Explorar o código

Fix rendering of multiline text

Julian Waller %!s(int64=8) %!d(string=hai) anos
pai
achega
52c1260130
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;