Skip to content

Commit

Permalink
fix(RadioButton): fix issue with print preview with Radio + Checkbox (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Mar 6, 2024
1 parent a25947d commit 7a9e2e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/styles/scss/components/checkbox/_checkbox.scss
Expand Up @@ -76,6 +76,10 @@
.#{$prefix}--checkbox-label::before,
.#{$prefix}--checkbox-label::after {
box-sizing: border-box;

@media print {
print-color-adjust: exact;
}
}

// Spacing for presentational checkbox
Expand Down
Expand Up @@ -123,6 +123,10 @@ $radio-border-width: 1px !default;
@include high-contrast-mode('icon-fill') {
background-color: ButtonText;
}

@media print {
print-color-adjust: exact;
}
}
}

Expand Down

0 comments on commit 7a9e2e6

Please sign in to comment.