handle reader types

This commit is contained in:
Aria Moradi
2021-05-15 23:22:37 +04:30
parent 5f23691e20
commit a62ee8f8c3
6 changed files with 149 additions and 123 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const useStyles = (settings: IReaderSettings) => makeStyles({
},
image: {
display: 'block',
marginBottom: settings.continuesPageGap ? '15px' : 0,
marginBottom: settings.readerType === 'ContinuesVertical' ? '15px' : 0,
minWidth: '50vw',
width: '100%',
maxWidth: '100%',