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:
@@ -92,6 +92,10 @@ export const ReaderTransitionPage = ({
|
|||||||
sx={{
|
sx={{
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
...applyStyles(!isContinuousReadingMode(readingMode), {
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
}),
|
||||||
...applyStyles(isContinuousReadingMode(readingMode), {
|
...applyStyles(isContinuousReadingMode(readingMode), {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
transform: 'scale(1)',
|
transform: 'scale(1)',
|
||||||
|
|||||||
Reference in New Issue
Block a user