fix chapters not shown on movbile

This commit is contained in:
Aria Moradi
2021-05-13 21:40:42 +04:30
parent 327aae5dd9
commit 3cfce2db04

View File

@@ -26,6 +26,8 @@ const useStyles = makeStyles((theme: Theme) => ({
chapters: { chapters: {
listStyle: 'none', listStyle: 'none',
padding: 0, padding: 0,
width: '100vw',
minHeight: '200px',
[theme.breakpoints.up('md')]: { [theme.breakpoints.up('md')]: {
width: '50vw', width: '50vw',
height: 'calc(100vh - 64px)', height: 'calc(100vh - 64px)',
@@ -85,9 +87,6 @@ export default function Manga() {
<LoadingPlaceholder <LoadingPlaceholder
shouldRender={chapters.length > 0} shouldRender={chapters.length > 0}
> >
{/* <ol >
{chapters.map((chapter) => ())}
</ol> */}
<Virtuoso <Virtuoso
style={{ // override Virtuoso default values and set them with class style={{ // override Virtuoso default values and set them with class
height: 'undefined', height: 'undefined',