File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 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`
1414 height: 100%;
1515 overflow: hidden;
1616 }
17+ @media print {
18+ @page {
19+ page-orientation: landscape;
20+ }
21+ }
1722` ;
1823
1924export default RootPage ;
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ const CookieConsentContainer = styled.div`
2525 left: 0;
2626 right: 0;
2727 z-index: 9999;
28+ @media print {
29+ display: none;
30+ }
2831` ;
2932
3033const CookieConsentDialog = styled . div `
Original file line number Diff line number Diff line change 2020 width : 100% ;
2121 height : 100% ;
2222}
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