Skip to content

Commit 5a96c0f

Browse files
committed
👌 centralize loader
1 parent 222b6d8 commit 5a96c0f

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import useAsModal from '../../components/useAsModal';
2020
import Dropdown from '../../components/Dropdown';
2121
import FooterTabSwitcher from '../../components/mobile/TabSwitcher';
2222
import FooterTab from '../../components/mobile/Tab';
23+
import Loader from '../App/components/loader';
2324

2425
const EXAMPLE_USERNAME = 'p5';
2526

@@ -53,7 +54,6 @@ const ContentWrapper = styled(Content)`
5354
tbody td { justify-self: center; padding-left: ${remSize(12)}}
5455
5556
thead th svg { margin-left: ${remSize(8)} }
56-
5757
5858
tbody td:last-child { justify-self: end; text-align: end; };
5959
.sketches-table .sketch-list__dropdown-column { min-width: unset };
@@ -71,15 +71,21 @@ const ContentWrapper = styled(Content)`
7171
tr {
7272
align-self: start;
7373
display: grid;
74-
grid-template-columns: 5fr 5fr 2fr;
75-
grid-template-areas: "name name name" "content content content";
76-
7774
box-shadow: 0 0 18px 0 ${prop('shadowColor')};
7875
};
7976
80-
thead tr { grid-template-columns: auto ${remSize(100)} ${remSize(100)} 0fr; }
77+
thead tr {
78+
grid-template-columns: auto ${remSize(100)} ${remSize(100)} 0fr;
79+
}
80+
81+
tbody tr {
82+
padding: ${remSize(8)};
83+
border-radius: ${remSize(4)};
84+
grid-template-columns: 5fr 5fr 2fr;
85+
grid-template-areas: "name name name" "content content content";
86+
}
8187
82-
tbody tr { padding: ${remSize(8)}; border-radius: ${remSize(4)}; }
88+
.loader-container { position: fixed ; padding-bottom: 32% }
8389
`;
8490

8591
const Subheader = styled.div`

0 commit comments

Comments
 (0)