Properly center chapter transition page

After changes in e4253633c9 the transition page content wasn't properly centered anymore in the single/double reading mode depending on the applied reader settings (scale type, stretch, reader width)
This commit is contained in:
schroda
2024-12-18 00:33:03 +01:00
parent 60b541a7e5
commit a3deea5b4b

View File

@@ -92,6 +92,10 @@ export const ReaderTransitionPage = ({
sx={{
justifyContent: 'center',
alignItems: 'center',
...applyStyles(!isContinuousReadingMode(readingMode), {
width: '100%',
height: '100%',
}),
...applyStyles(isContinuousReadingMode(readingMode), {
position: 'relative',
transform: 'scale(1)',