Skip to content

Commit

Permalink
Merge pull request #1628 from awolfe76/fix-checkbox
Browse files Browse the repository at this point in the history
Render checked AND disabled checkbox properly
  • Loading branch information
Julia Elman committed Feb 8, 2017
2 parents f671bb6 + 04ecd22 commit 7db80cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stylesheets/elements/_inputs.scss
Expand Up @@ -199,7 +199,8 @@ legend {
box-shadow: 0 0 0 2px $color-white, 0 0 0 4px $color-primary, 0 0 3px 4px $color-focus, 0 0 7px 4px $color-focus;
}

[type=checkbox]:checked + label::before {
[type=checkbox]:checked + label::before,
[type=checkbox]:checked:disabled + label::before {
background-image: url('#{$image-path}/correct8.png');
background-image: url('#{$image-path}/correct8.svg');
background-position: 50%;
Expand Down

0 comments on commit 7db80cd

Please sign in to comment.