0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Backport color-adjust for v4

Keeps checkboxes, radios, and switches with their intended design when printing.

Backports #29714
This commit is contained in:
Mark Otto 2020-09-29 13:25:50 -07:00 committed by XhmikosR
parent a03b2feff2
commit ca68277976

View File

@ -13,6 +13,7 @@
display: block; display: block;
min-height: $font-size-base * $line-height-base; min-height: $font-size-base * $line-height-base;
padding-left: $custom-control-gutter + $custom-control-indicator-size; padding-left: $custom-control-gutter + $custom-control-indicator-size;
color-adjust: exact; // Keep themed appearance for print
} }
.custom-control-inline { .custom-control-inline {