Fix print styles and remove header footer from print

This commit is contained in:
Michal Vanko 2022-01-18 12:38:32 +01:00
parent bbad737bbe
commit 95f745397c
2 changed files with 13 additions and 1 deletions

View File

@ -21,6 +21,9 @@ globalStyle('body', {
[`screen and (min-width: ${breakpoints.m}px)`]: { [`screen and (min-width: ${breakpoints.m}px)`]: {
fontSize: '24px', fontSize: '24px',
}, },
print: {
fontSize: '12px',
}
}, },
}) })

View File

@ -5,3 +5,12 @@ body {
.app-content nav { .app-content nav {
display: none; display: none;
} }
.page-navigation {
display: none;
}
.site-footer {
display: none;
}