Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 0f0c4b6

Browse files
crisbetoThomasBurleson
authored andcommitted
fix(whiteframe): prevent contents from being printed black
Chrome has an issue where elements with box shadows get printed all black (see https://bugs.chromium.org/p/chromium/issues/detail?id=174583). This is a workaround to make the text readable. Fixes #8512. Closes #8520
1 parent ecf00ec commit 0f0c4b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/whiteframe/whiteframe.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,9 @@
7676
border: 1px solid #fff;
7777
}
7878
}
79+
80+
@media print {
81+
md-whiteframe, [md-whiteframe] {
82+
background-color: #ffffff;
83+
}
84+
}

0 commit comments

Comments
 (0)