Always display article actions when in PDF

This commit is contained in:
Jackson Harper 2023-03-06 14:47:02 +08:00
parent 54067f6062
commit 289fb2b759

View file

@ -61,16 +61,18 @@ export function ReaderHeader(props: ReaderHeaderProps): JSX.Element {
>
{props.children}
</SpanBox>
<SpanBox
css={{
width: '100%',
'@lgDown': {
display: props.alwaysDisplayToolbar ? 'flex' : 'none',
},
}}
>
<ControlButtonBox {...props} />
</SpanBox>
{!props.alwaysDisplayToolbar && (
<SpanBox
css={{
width: '100%',
'@lgDown': {
display: 'none',
},
}}
>
<ControlButtonBox {...props} />
</SpanBox>
)}
</HStack>
</VStack>
</>