Center page number correctly (#616)

This commit is contained in:
schroda
2024-02-21 23:39:12 +01:00
committed by GitHub
parent ceec260d14
commit ab0ecf4da0
2 changed files with 1 additions and 1 deletions

View File

@@ -24,7 +24,6 @@ export function PageNumber(props: IProps) {
display: settings.showPageNumber ? 'block' : 'none',
position: 'fixed',
bottom: '50px',
right: settings.staticNav ? 'calc((100vw - 325px)/2)' : 'calc((100vw - 25px)/2)',
padding: '2px',
paddingLeft: '4px',
paddingRight: '4px',

View File

@@ -413,6 +413,7 @@ export function Reader() {
display: 'flex',
flexDirection: 'column',
alignContent: 'center',
alignItems: 'center',
justifyContent: 'center',
minWidth: settings.staticNav
? 'calc((100vw - (100vw - 100%)) - 300px)'