Skip to content

Commit

Permalink
Fix printed whereabouts list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jsrobertson committed Nov 6, 2018
1 parent bdc0fe5 commit 7d64caa
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions src/lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

@mixin hideText {
text-indent: 100%;
text-indent: -9999px;
overflow: hidden;
height: 0;
width: 0;
Expand Down Expand Up @@ -168,18 +168,24 @@ tbody > tr + td {
}

/* box */
.whereaboutsCheckbox [type='checkbox'] + label::before {
@include checkboxMixin;
top: 1px;
left: 1px;
width: 8px;
height: 8px;
border: 1.3px solid;
}
/* tick */
.whereaboutsCheckbox [type='checkbox'] + label::after {
@include tickMixin;
left: 1px;
.whereabouts-label {
@include hideText;

/* box */
&:before {
@include checkboxMixin;
top: 1px;
left: 1px;
width: 8px;
height: 8px;
border: 1.3px solid;
}

/* tick */
&:after {
@include tickMixin;
left: 1px;
}
}

.multiple-choice label {
Expand Down

0 comments on commit 7d64caa

Please sign in to comment.