Skip to content

Commit 4b59e1b

Browse files
committed
feat(material/radio): show background-color in print stylesheet (#22298)
* added color-adjust for radio background-color
1 parent 4316787 commit 4b59e1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/material/radio/radio.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ $ripple-radius: 20px;
8080
// IE to flash the entire circle for a couple of frames, throwing off the entire animation.
8181
transform: scale(0.001);
8282

83+
// force browser to show background-color when using the print function
84+
-webkit-print-color-adjust: exact;
85+
color-adjust: exact;
86+
8387
._mat-animation-noopable & {
8488
transition: none;
8589
}

0 commit comments

Comments
 (0)