mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-12 08:49:08 +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({
|
const useStyles = makeStyles({
|
||||||
loading: {
|
loading: {
|
||||||
margin: '10px 0',
|
margin: '10px auto',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
},
|
},
|
||||||
|
@ -69,7 +69,7 @@ export default function Manga() {
|
|||||||
|
|
||||||
const chapterCards = (
|
const chapterCards = (
|
||||||
<LoadingPlaceholder
|
<LoadingPlaceholder
|
||||||
shouldRender
|
shouldRender={chapters.length > 0}
|
||||||
>
|
>
|
||||||
<ol className={classes.chapters}>
|
<ol className={classes.chapters}>
|
||||||
{chapters.map((chapter) => (<ChapterCard chapter={chapter} />))}
|
{chapters.map((chapter) => (<ChapterCard chapter={chapter} />))}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user