File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -50,5 +50,17 @@ export const rootStyles = (
50
50
color : ${ sourcePalette . neutral [ 7 ] } ;
51
51
}
52
52
53
+ /**
54
+ * Hide scroll depth markers when printing as these are absolutely positioned
55
+ * based on the initial content height. These will still be present in the
56
+ * document at their original location when printing, even if other page
57
+ * elements have been hidden, leading to blank pages being produced.
58
+ */
59
+ @media print {
60
+ .scroll-depth-marker {
61
+ display : none;
62
+ }
63
+ }
64
+
53
65
${ rootAdStyles }
54
66
` ;
Original file line number Diff line number Diff line change 2
2
display : none !important ;
3
3
color : # 000000 ;
4
4
}
5
-
6
- /**
7
- * Hide scroll depth markers when printing as these are absolutely positioned
8
- * based on the initial content height and are still present when content has
9
- * been hidden in the print layout, causing blank pages to be printed.
10
- */
11
- .scroll-depth-marker {
12
- display : none;
13
- }
You can’t perform that action at this time.
0 commit comments