File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 88 // get our borderwidth in rems
99 $borderWidth : (2 / (2 * 0 + 1 ) / $baseFont ) * 1rem ;
1010 $boxSize : $base / 1.7 ;
11+
1112 .#{$prefix } checkbox {
1213 .#{$prefix } checkbox__label {
1314 cursor : pointer ;
2829 position : absolute ;
2930 top : $base / 4.75 ;
3031 left : 0 ;
32+ right : 0 ;
33+ bottom : 0 ;
3134 width : $boxSize ;
3235 height : $boxSize ;
3336 border-radius : 0 ;
5760 @include themify ($themes ) {
5861 & :checked + .#{$prefix } checkbox__label :before {
5962 content : ' \2713 ' ;
63+ position : absolute ;
64+ top : $base / 4.75 ;
65+ left : 0 ;
66+ right : 0 ;
67+ bottom : 0 ;
6068 display : inline-block ;
6169 background : map-get ($colormap-base , white );
62- line-height : $boxSize + $borderWidth ;
70+ line-height : 1 ; // $boxSize + $borderWidth;
6371 font-size : 1.125rem ;
6472 text-align : center ;
6573 transform : scale (1 );
You can’t perform that action at this time.
0 commit comments