Fixes #1284 - Center loader in sketch list, collection list, and asset list
This commit is contained in:
parent
eeb7e345f3
commit
68d4bddf66
4 changed files with 16 additions and 6 deletions
|
@ -1,9 +1,11 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const Loader = () => (
|
const Loader = () => (
|
||||||
<div className="loader">
|
<div className="loader-container">
|
||||||
<div className="loader__circle1" />
|
<div className="loader">
|
||||||
<div className="loader__circle2" />
|
<div className="loader__circle1" />
|
||||||
|
<div className="loader__circle2" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
export default Loader;
|
export default Loader;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.asset-table-container {
|
.asset-table-container {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
min-height: #{400 / $base-font-size}rem;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.asset-table {
|
.asset-table {
|
||||||
|
|
|
@ -1,9 +1,17 @@
|
||||||
|
.loader-container {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.loader {
|
.loader {
|
||||||
width: #{80 / $base-font-size }rem;
|
width: #{80 / $base-font-size }rem;
|
||||||
height: #{80 / $base-font-size}rem;
|
height: #{80 / $base-font-size}rem;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: #{100 / $base-font-size}rem auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.loader__circle1,
|
.loader__circle1,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.sketches-table-container {
|
.sketches-table-container {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
min-height: #{400 / $base-font-size}rem;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sketches-table {
|
.sketches-table {
|
||||||
|
|
Loading…
Reference in a new issue