Quellcode durchsuchen

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 vor 11 Jahren
Ursprung
Commit
7df7b6708a
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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,