1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 03:59:29 +00:00

Move adminContent into admin component

This commit is contained in:
2022-02-08 20:18:44 +00:00
parent 457e702267
commit ba59030870
2 changed files with 28 additions and 23 deletions

View File

@@ -1,3 +1,18 @@
.adminContent {
min-height: 91vh;
background-color: $admin-bg;
padding: .5rem 1rem 0 1rem;
@include respond-to('medium') {
padding-left: 2rem;
padding-right: 2rem;
}
@include respond-to('large') {
margin-left: 20vw;
}
}
.adminItem { .adminItem {
padding: .7rem; padding: .7rem;
background-color: white; background-color: white;

View File

@@ -1,9 +1,4 @@
.adminContent { .dashboard__stats {
min-height: 91vh;
background-color: $admin-bg;
padding: .5rem 1rem 0 1rem;
.dashboard__stats {
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
gap: 1rem; gap: 1rem;
@@ -22,9 +17,4 @@
@include respond-to('medium') { @include respond-to('medium') {
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
} }
}
@include respond-to('large') {
margin-left: 20vw;
}
} }