diff --git a/src/components/reader/DoublePage.tsx b/src/components/reader/DoublePage.tsx index cdbc60e7..ee321fe2 100644 --- a/src/components/reader/DoublePage.tsx +++ b/src/components/reader/DoublePage.tsx @@ -28,6 +28,7 @@ export const DoublePage = forwardRef((props: IProps, ref: any) => { const imgStyle = { ...baseImgStyle, width: settings.fitPageToWindow ? baseImgStyle.width : `calc(${baseImgStyle.width} * 0.5)`, + maxWidth: settings.fitPageToWindow ? `calc(${baseImgStyle.maxWidth} * 0.5)` : baseImgStyle.maxWidth, }; const spinnerStyle: SxProps = {