mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 00:01:49 +01:00
improve loading spinner's place
This commit is contained in:
parent
32dd543562
commit
d383939c9f
@ -14,7 +14,7 @@ import CircularProgress from '@material-ui/core/CircularProgress';
|
||||
|
||||
const useStyles = makeStyles({
|
||||
loading: {
|
||||
margin: '10px 0',
|
||||
margin: '10px auto',
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
|
@ -69,7 +69,7 @@ export default function Manga() {
|
||||
|
||||
const chapterCards = (
|
||||
<LoadingPlaceholder
|
||||
shouldRender
|
||||
shouldRender={chapters.length > 0}
|
||||
>
|
||||
<ol className={classes.chapters}>
|
||||
{chapters.map((chapter) => (<ChapterCard chapter={chapter} />))}
|
||||
|
Loading…
Reference in New Issue
Block a user