Fix page centering in paged pagers with preloaded chapters
The previous/next chapter wasn't visible but had a margin which affected the positioning of the visible pages
This commit is contained in:
@@ -390,6 +390,7 @@ const BaseReaderChapterViewer = ({
|
|||||||
minWidth: 'unset',
|
minWidth: 'unset',
|
||||||
minHeight: 'unset',
|
minHeight: 'unset',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
|
margin: 'unset',
|
||||||
}),
|
}),
|
||||||
...applyStyles(
|
...applyStyles(
|
||||||
isContinuousVerticalReadingMode(readingMode) && shouldApplyReaderWidth(readerWidth, pageScaleMode),
|
isContinuousVerticalReadingMode(readingMode) && shouldApplyReaderWidth(readerWidth, pageScaleMode),
|
||||||
|
|||||||
Reference in New Issue
Block a user