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 8
8
// get our borderwidth in rems
9
9
$borderWidth : (2 / (2 * 0 + 1 ) / $baseFont ) * 1rem ;
10
10
$boxSize : $base / 1.7 ;
11
+
11
12
.#{$prefix } checkbox {
12
13
.#{$prefix } checkbox__label {
13
14
cursor : pointer ;
28
29
position : absolute ;
29
30
top : $base / 4.75 ;
30
31
left : 0 ;
32
+ right : 0 ;
33
+ bottom : 0 ;
31
34
width : $boxSize ;
32
35
height : $boxSize ;
33
36
border-radius : 0 ;
57
60
@include themify ($themes ) {
58
61
& :checked + .#{$prefix } checkbox__label :before {
59
62
content : ' \2713 ' ;
63
+ position : absolute ;
64
+ top : $base / 4.75 ;
65
+ left : 0 ;
66
+ right : 0 ;
67
+ bottom : 0 ;
60
68
display : inline-block ;
61
69
background : map-get ($colormap-base , white );
62
- line-height : $boxSize + $borderWidth ;
70
+ line-height : 1 ; // $boxSize + $borderWidth;
63
71
font-size : 1.125rem ;
64
72
text-align : center ;
65
73
transform : scale (1 );
You can’t perform that action at this time.
0 commit comments