fixed #50
Base toggle handle position on height variable
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment