Hide "New Users" box when no users are in database

- Also improved CSS organization
- Use space-around flex to center stats box
- Capitalized 'runnerspace'
This commit is contained in:
Xevion
2022-03-29 23:40:02 -05:00
parent 6b4d5acfb9
commit 2a443979b9
4 changed files with 41 additions and 32 deletions

View File

@@ -367,24 +367,28 @@ nav, footer {
}
}
.new-users, .statistics {
margin-top: 0 !important;
.index-flex {
display: flex;
justify-content: space-around;
.new-users, .statistics {
margin-top: 0 !important;
> div {
border: 1px solid grey;
padding: 0.2em;
width: fit-content;
padding-right: 1.5em;
> div {
border: 1px solid grey;
padding: 0.2em;
width: fit-content;
padding-right: 1.5em;
a {
text-decoration: none;
a {
text-decoration: none;
}
}
}
}
.statistics > div {
min-height: 235px;
margin: 1em;
.statistics > div {
min-height: 235px;
margin: 1em;
}
}
span.error-message {