proof of concept readers

This commit is contained in:
Aria Moradi
2021-05-15 18:17:12 +04:30
parent 9808976088
commit 490643dc02
4 changed files with 142 additions and 2 deletions

View File

@@ -28,6 +28,9 @@ const useStyles = (settings: IReaderSettings) => makeStyles({
image: {
display: 'block',
marginBottom: settings.continuesPageGap ? '15px' : 0,
minWidth: '50vw',
width: '100%',
maxWidth: '100%',
},
});
@@ -85,7 +88,6 @@ function LazyImage(props: IProps) {
ref={ref}
src={imageSrc}
alt={`Page #${index}`}
style={{ width: '100%', maxWidth: '95vw' }}
/>
);
}