Merge pull request #2430 from omnivore-app/feat/web-better-printing

Improve printing of articles
This commit is contained in:
Jackson Harper 2023-06-27 18:53:39 +08:00 committed by GitHub
commit a06bf2e9e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -458,6 +458,9 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
'&:hover': {
opacity: 0.8,
},
'@media print': {
display: 'none',
},
}}
onClick={() => setShowReportIssuesModal(true)}
>

View file

@ -43,6 +43,9 @@ export function ReaderHeader(props: ReaderHeaderProps): JSX.Element {
bg: '$readerBg',
pointerEvents: 'unset',
},
'@media print': {
display: 'none',
},
}}
>
<HStack

View file

@ -463,6 +463,9 @@ export default function Home(): JSX.Element {
background: '$readerMargin',
overflow: 'scroll',
paddingTop: '80px',
'@media print': {
paddingTop: '0px',
},
}}
>
{article && viewerData?.me ? (