diff --git a/src/components/Spinner.js b/src/components/Spinner.js
index b2ab553..82425fd 100644
--- a/src/components/Spinner.js
+++ b/src/components/Spinner.js
@@ -5,11 +5,13 @@ import styles from './Spinner.scss';
export default class Spinner extends Component {
render() {
return (
-
-
-
-
-
+
)
}
diff --git a/src/components/Spinner.scss b/src/components/Spinner.scss
index ac9bb39..09d1fff 100644
--- a/src/components/Spinner.scss
+++ b/src/components/Spinner.scss
@@ -1,12 +1,20 @@
/*
from https://loading.io/css/
*/
+@import "../static/stylesheets/variables.scss";
+
+.spinnerWrapper {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+}
.ldsEllipsis {
display: inline-block;
position: relative;
width: 64px;
height: 64px;
+ margin: 0 auto;
}
.ldsEllipsis div {
position: absolute;
@@ -14,7 +22,7 @@
width: 11px;
height: 11px;
border-radius: 50%;
- background: #fff;
+ background: $black;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.ldsEllipsis div:nth-child(1) {
diff --git a/src/static/stylesheets/content.scss b/src/static/stylesheets/content.scss
index 5db7e35..7ae6d77 100644
--- a/src/static/stylesheets/content.scss
+++ b/src/static/stylesheets/content.scss
@@ -13,5 +13,4 @@
.content {
box-sizing: border-box;
- margin: 0 auto;
}