Revert "Render reader desktop nav bar content only when visible"

This reverts commit f141a5ae66.
This commit is contained in:
schroda
2024-12-22 21:53:03 +01:00
parent 9ea30ee850
commit 0ea2f93651

View File

@@ -106,8 +106,6 @@ const BaseReaderNavBarDesktop = ({
}} }}
> >
<ReaderNavContainer sx={{ backgroundColor: 'background.paper', pointerEvents: 'all' }}> <ReaderNavContainer sx={{ backgroundColor: 'background.paper', pointerEvents: 'all' }}>
{isVisible && (
<>
<Stack sx={{ p: 2, gap: 2, backgroundColor: 'action.hover' }}> <Stack sx={{ p: 2, gap: 2, backgroundColor: 'action.hover' }}>
<Stack sx={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}> <Stack sx={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
<Tooltip title={t('reader.button.exit')}> <Tooltip title={t('reader.button.exit')}>
@@ -154,8 +152,6 @@ const BaseReaderNavBarDesktop = ({
<Divider /> <Divider />
<ReaderNavBarDesktopQuickSettings openSettings={openSettings} /> <ReaderNavBarDesktopQuickSettings openSettings={openSettings} />
</Stack> </Stack>
</>
)}
</ReaderNavContainer> </ReaderNavContainer>
</Drawer> </Drawer>
); );