diff --git a/src/components/Loader/Loader.module.css b/src/components/Loader/Loader.module.css deleted file mode 100644 index aad512e826..0000000000 --- a/src/components/Loader/Loader.module.css +++ /dev/null @@ -1,25 +0,0 @@ -.spinner_wrapper { - height: 100vh; - width: 100%; - display: flex; - justify-content: center; - align-items: center; -} - -.spinnerXl { - width: 6rem; - height: 6rem; - border-width: 0.5rem; -} - -.spinnerLg { - height: 4rem; - width: 4rem; - border-width: 0.3rem; -} - -.spinnerSm { - height: 2rem; - width: 2rem; - border-width: 0.2rem; -} diff --git a/src/components/Loader/Loader.tsx b/src/components/Loader/Loader.tsx index b59c735175..c08036c753 100644 --- a/src/components/Loader/Loader.tsx +++ b/src/components/Loader/Loader.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import styles from './Loader.module.css'; +import styles from '../../style/app.module.css'; import { Spinner } from 'react-bootstrap'; interface InterfaceLoaderProps { diff --git a/src/style/app.module.css b/src/style/app.module.css index 22c88e9587..d263f36271 100644 --- a/src/style/app.module.css +++ b/src/style/app.module.css @@ -7262,3 +7262,30 @@ button[data-testid='createPostBtn'] { flex-direction: row; justify-content: center; } + +/* Loader.tsx */ +.spinner_wrapper { + height: 100vh; + width: 100%; + display: flex; + justify-content: center; + align-items: center; +} + +.spinnerXl { + width: 6rem; + height: 6rem; + border-width: 0.5rem; +} + +.spinnerLg { + height: 4rem; + width: 4rem; + border-width: 0.3rem; +} + +.spinnerSm { + height: 2rem; + width: 2rem; + border-width: 0.2rem; +}