fix: Cleanup print display

This commit is contained in:
Tom Moor
2020-06-18 22:10:20 -07:00
parent 2e376b32ec
commit ed096013e4
2 changed files with 8 additions and 0 deletions

View File

@@ -472,6 +472,10 @@ const Background = styled(Container)`
const ReferencesWrapper = styled('div')`
margin-top: ${props => (props.isOnlyTitle ? -45 : 16)}px;
@media print {
display: none;
}
`;
const MaxWidth = styled(Flex)`

View File

@@ -30,6 +30,10 @@ function DocumentMeta({ views, isDraft, document }: Props) {
const Meta = styled(PublishingInfo)`
margin: -12px 0 2em 0;
font-size: 14px;
@media print {
display: none;
}
`;
export default inject('views')(DocumentMeta);