reader ui changes

This commit is contained in:
Aria Moradi
2021-03-19 14:52:20 +03:30
parent 5d484b012c
commit 04837983fa
8 changed files with 122 additions and 39 deletions

View File

@@ -19,6 +19,15 @@ const useStyles = makeStyles((theme: Theme) => ({
},
},
chapters: {
listStyle: 'none',
padding: 0,
[theme.breakpoints.up('md')]: {
width: '50%',
marginLeft: '50%',
},
},
loading: {
margin: '10px 0',
display: 'flex',
@@ -53,7 +62,7 @@ export default function Manga() {
}, []);
const chapterCards = (
<ol style={{ listStyle: 'none', padding: 0, width: '100%' }}>
<ol className={classes.chapters}>
{chapters.length === 0
&& (
<div className={classes.loading}>