mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1019 from omnivore-app/fix/display-toolbar-on-pdf
Display toolbar on wide screens for PDFs
This commit is contained in:
commit
c0aec1c62c
1 changed files with 2 additions and 1 deletions
|
|
@ -106,6 +106,7 @@ export function PrimaryHeader(props: HeaderProps): JSX.Element {
|
|||
return (
|
||||
<>
|
||||
<SpanBox css={{
|
||||
display: props.alwaysDisplayToolbar ? 'none' : 'flex',
|
||||
'@lgDown': {
|
||||
display: 'none',
|
||||
}
|
||||
|
|
@ -122,7 +123,7 @@ export function PrimaryHeader(props: HeaderProps): JSX.Element {
|
|||
</SpanBox>
|
||||
<SpanBox css={{
|
||||
'@lg': {
|
||||
display: 'none',
|
||||
display: props.alwaysDisplayToolbar ? 'flex' : 'none',
|
||||
}
|
||||
}}>
|
||||
<NavHeader
|
||||
|
|
|
|||
Loading…
Reference in a new issue