File tree 3 files changed +32
-0
lines changed
3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ const RootPage = styled.div`
14
14
height: 100%;
15
15
overflow: hidden;
16
16
}
17
+ @media print {
18
+ @page {
19
+ page-orientation: landscape;
20
+ }
21
+ }
17
22
` ;
18
23
19
24
export default RootPage ;
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ const CookieConsentContainer = styled.div`
25
25
left: 0;
26
26
right: 0;
27
27
z-index: 9999;
28
+ @media print {
29
+ display: none;
30
+ }
28
31
` ;
29
32
30
33
const CookieConsentDialog = styled . div `
Original file line number Diff line number Diff line change 20
20
width : 100% ;
21
21
height : 100% ;
22
22
}
23
+
24
+ @media print {
25
+ .sidebar {
26
+ display : none ;
27
+ width : 0 ;
28
+ }
29
+ .preview-console {
30
+ display : none ;
31
+ }
32
+ .CodeMirror {
33
+ height : auto ;
34
+ overflow : visible ;
35
+ position : relative ;
36
+ }
37
+ .CodeMirror-scroll {
38
+ height : auto ;
39
+ overflow-y : hidden ;
40
+ }
41
+ .CodeMirror-vscrollbar ,
42
+ .CodeMirror-hscrollbar ,
43
+ .CodeMirror-gutters {
44
+ display : none ;
45
+ }
46
+ }
You can’t perform that action at this time.
0 commit comments