]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix missing border-radius for the paddle itself 7214/head
authorErwin <zzplab@users.noreply.github.com>
Wed, 25 Nov 2015 21:52:21 +0000 (22:52 +0100)
committerErwin <zzplab@users.noreply.github.com>
Wed, 25 Nov 2015 21:52:21 +0000 (22:52 +0100)
$switch-paddle-radius was not used anywhere in the mixins.
I assume it should be used here.

scss/components/_switch.scss

index 4a9d816ccdf4e177a79a6c4d5b1ecaaed942b0aa..2de5da7746c8fb59c5ac48a8621e59375500f0b7 100644 (file)
@@ -109,6 +109,7 @@ $switch-paddle-transition: all 0.25s ease-out !default;
     width: 1.5rem;
     transition: $switch-paddle-transition;
     transform: translate3d(0, 0, 0);
+    border-radius: $switch-paddle-radius;
   }
 
   // Change the visual style when the switch is active