]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport color-adjust for v4
authorMark Otto <markdotto@gmail.com>
Tue, 29 Sep 2020 20:25:50 +0000 (13:25 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 5 Oct 2020 13:12:47 +0000 (16:12 +0300)
Keeps checkboxes, radios, and switches with their intended design when printing.

Backports #29714

scss/_custom-forms.scss

index 2d1228efe53ebdc31e20edd595c2bd142255d189..0057b330f1c6eb7ef0bf9d992d89a7e6bb1bf43d 100644 (file)
@@ -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 {