Skip to content

Commit

Permalink
Backport color-adjust for v4
Browse files Browse the repository at this point in the history
Keeps checkboxes, radios, and switches with their intended design when printing.

Backports #29714
  • Loading branch information
mdo authored and XhmikosR committed Sep 30, 2020
1 parent f6cdf5e commit 68e1ef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/_custom-forms.scss
Expand Up @@ -13,6 +13,7 @@
display: block;
min-height: $font-size-base * $line-height-base;
padding-left: $custom-control-gutter + $custom-control-indicator-size;
color-adjust: exact; // Keep themed appearance for print
}

.custom-control-inline {
Expand Down

0 comments on commit 68e1ef6

Please sign in to comment.