Browse Source

Fixes minor UI bug with 2px border

There's two 1px adjacent borders, depending on which side the switch is on. Just hide the extra border, depending on which side we're on.

by sporkmonger
Stein, Peter 11 years ago
parent
commit
7df7b6708a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      static/stylesheets/bootstrap-switch.css

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

@@ -140,6 +140,12 @@
 
   filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
 }
+.has-switch .switch-on label {
+  border-right: none;
+}
+.has-switch .switch-off label {
+  border-left: none;
+}
 .has-switch label:hover,
 .has-switch label:focus,
 .has-switch label:active,