Skip to content

Commit 3154fed

Browse files
committed
add print background colour for firefox
1 parent 62adcd0 commit 3154fed

File tree

1 file changed

+3
-1
lines changed
  • libs/@guardian/react-crossword/src/components

1 file changed

+3
-1
lines changed

libs/@guardian/react-crossword/src/components/Cell.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ const CellComponent = ({
6565
const cellStyles = css`
6666
fill: ${backgroundColor};
6767
@media print {
68-
fill: ${isBlackCell ? 'transparent' : theme.gridForegroundColor};
68+
fill: ${isBlackCell
69+
? theme.gridPrintBackgroundColor
70+
: theme.gridForegroundColor};
6971
}
7072
`;
7173

0 commit comments

Comments
 (0)