media query to hide header on print (#2409)

* media query to hide header on print

* add media query to hide footer on print
This commit is contained in:
Phil Marshall
2019-10-10 09:52:44 -05:00
committed by Brian Vaughn
parent 454f44e7c0
commit 566a36e2c4
2 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,9 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
[media.size('sidebarFixed')]: {
paddingTop: 40,
},
'@media print': {
display: 'none',
},
}}>
<Container>
<div

View File

@@ -29,6 +29,9 @@ const Header = ({location}: {location: Location}) => (
width: '100%',
top: 0,
left: 0,
'@media print': {
display: 'none',
},
}}>
<Container>
<div