fix some bugs with Virtuoso

This commit is contained in:
Aria Moradi 2021-05-24 21:26:55 +04:30
parent 0e0d08ae5a
commit 16b34f874d
2 changed files with 3 additions and 4 deletions

View File

@ -79,7 +79,7 @@ application {
// for testing electron
// applicationDefaultJvmArgs = listOf(
// "-Dir.armor.tachidesk.webInterface=electron",
// "-Dir.armor.tachidesk.electronPath=/home/armor/programming/Suwayomi/Tachidesk/scripts/electron-v12.0.9-linux-x64/electron"
// "-Dir.armor.tachidesk.electronPath=/usr/bin/electron"
// )
}

View File

@ -27,12 +27,10 @@ const useStyles = makeStyles((theme: Theme) => ({
chapters: {
listStyle: 'none',
padding: 0,
width: '100vw',
minHeight: '200px',
minHeight: '50vh',
[theme.breakpoints.up('md')]: {
width: '50vw',
height: 'calc(100vh - 64px)',
overflowY: 'auto',
margin: 0,
},
},
@ -102,6 +100,7 @@ export default function Manga() {
<Virtuoso
style={{ // override Virtuoso default values and set them with class
height: 'undefined',
overflowY: 'visible',
}}
className={classes.chapters}
totalCount={chapters.length}