Prevent pages from being bigger than the 100% in width (#573)
This commit is contained in:
@@ -41,7 +41,7 @@ export function imageStyle(settings: IReaderSettings): any {
|
||||
marginLeft: isHorizontal ? '7px' : 0,
|
||||
marginRight: isHorizontal ? '7px' : 0,
|
||||
width: 'auto',
|
||||
minHeight: '100vh',
|
||||
maxWidth: settings.fitPageToWindow ? 'calc(100vw - (100vw - 100%))' : undefined,
|
||||
height: 'auto',
|
||||
maxHeight: '100vh',
|
||||
objectFit: 'contain',
|
||||
|
||||
Reference in New Issue
Block a user