Browse Source

Merge pull request #18 from nostalgiaz/master

added HTML-Text mini-switch bugfix
Stein, Peter 11 years ago
parent
commit
37ea834be2
1 changed files with 9 additions and 1 deletions
  1. 9 1
      static/less/bootstrap-switch.less

+ 9 - 1
static/less/bootstrap-switch.less

@@ -32,7 +32,15 @@
   &.switch-mini {
     min-width: 72px;
   }
-
+  &.switch-mini i.switch-mini-icons {
+    height: 1.20em;
+    line-height: 9px;
+    vertical-align: text-top;
+    text-align: center;
+    transform: scale(0.6);
+    margin-top: -1px;
+    margin-bottom: -1px;
+  }
   &.switch-small {
     min-width: 80px;
   }