e13f2fc2 by bootflat

fixed #50

Base toggle handle position on height variable
1 parent ad1f6664
...@@ -46,7 +46,7 @@ $toggle-checked-shadow: inset 0 0 0 1px $lightgray-light, 1px 1p ...@@ -46,7 +46,7 @@ $toggle-checked-shadow: inset 0 0 0 1px $lightgray-light, 1px 1p
46 & .handle { 46 & .handle {
47 display: block; 47 display: block;
48 position: relative; 48 position: relative;
49 top: -20px; 49 top: $toggle-handle-height * -0.5;
50 left: 0; 50 left: 0;
51 width: $toggle-handle-width; 51 width: $toggle-handle-width;
52 height: $toggle-handle-height; 52 height: $toggle-handle-height;
......