Browse Source

Fixed HTML Text - switch-mini bug

https://github.com/nostalgiaz/bootstrap-switch/issues/66
Stein, Peter 11 years ago
parent
commit
c39d1ae299
1 changed files with 13 additions and 0 deletions
  1. 13 0
      static/stylesheets/bootstrap-switch.css

+ 13 - 0
static/stylesheets/bootstrap-switch.css

@@ -33,6 +33,19 @@
 .has-switch.switch-mini {
   min-width: 72px;
 }
+.has-switch.switch-mini i.switch-mini-icons {
+  height: 1.20em;
+  min-height: 5px;
+  line-height: 8px;
+  padding-bottom: 0px;
+  padding-top: 0px;
+  vertical-align: text-top;
+  text-align: center;
+  transform: scale(0.6);
+  margin-top: -1px;
+  margin-bottom: -1px;
+  z-index: 500;
+}
 .has-switch.switch-small {
   min-width: 80px;
 }