Merge pull request #2430 from omnivore-app/feat/web-better-printing
Improve printing of articles
This commit is contained in:
@ -458,6 +458,9 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
||||
'&:hover': {
|
||||
opacity: 0.8,
|
||||
},
|
||||
'@media print': {
|
||||
display: 'none',
|
||||
},
|
||||
}}
|
||||
onClick={() => setShowReportIssuesModal(true)}
|
||||
>
|
||||
|
||||
@ -43,6 +43,9 @@ export function ReaderHeader(props: ReaderHeaderProps): JSX.Element {
|
||||
bg: '$readerBg',
|
||||
pointerEvents: 'unset',
|
||||
},
|
||||
'@media print': {
|
||||
display: 'none',
|
||||
},
|
||||
}}
|
||||
>
|
||||
<HStack
|
||||
|
||||
@ -463,6 +463,9 @@ export default function Home(): JSX.Element {
|
||||
background: '$readerMargin',
|
||||
overflow: 'scroll',
|
||||
paddingTop: '80px',
|
||||
'@media print': {
|
||||
paddingTop: '0px',
|
||||
},
|
||||
}}
|
||||
>
|
||||
{article && viewerData?.me ? (
|
||||
|
||||
Reference in New Issue
Block a user