diff --git a/frontend/src/pages/MainPage/MainPage.scss b/frontend/src/pages/MainPage/MainPage.scss index 1809b4e..e75bba7 100644 --- a/frontend/src/pages/MainPage/MainPage.scss +++ b/frontend/src/pages/MainPage/MainPage.scss @@ -6,14 +6,4 @@ .blurred { @include blurred(); } - - .UserList-container { - .ClipLoader { - top: -10px; - z-index: 2; - } - .blurred { - z-index: 1; - } - } -} \ No newline at end of file +} diff --git a/frontend/src/pages/MainPage/MainPage.tsx b/frontend/src/pages/MainPage/MainPage.tsx index 565e0bb..e5f3c1e 100644 --- a/frontend/src/pages/MainPage/MainPage.tsx +++ b/frontend/src/pages/MainPage/MainPage.tsx @@ -105,6 +105,12 @@ const MainPage: FC = (props: IMainPageProps) => { .catch(err => setError(err)) }, [seasonId, setLoadingState]) + const spinnerCss = ` + margin: 0; + z-index: 2; + position: absolute; + ` + return (
@@ -121,7 +127,7 @@ const MainPage: FC = (props: IMainPageProps) => { } {/*
*/} - {/* */} +