[Glitch] Enhance dashboard styles

Port 7aee0632b7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
Mashiro 2021-10-21 12:24:34 +08:00 committed by Claire
parent 50f32a06a7
commit fa25e649f4
2 changed files with 12 additions and 0 deletions

View File

@ -936,6 +936,13 @@ a.name-tag,
} }
.retention { .retention {
overflow: auto;
> h4 {
position: sticky;
left: 0;
}
&__table { &__table {
&__number { &__number {
color: $secondary-text-color; color: $secondary-text-color;
@ -1034,6 +1041,7 @@ a.name-tag,
&__graph { &__graph {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%;
svg { svg {
display: block; display: block;

View File

@ -61,6 +61,10 @@
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
grid-gap: 10px; grid-gap: 10px;
@media screen and (max-width: 1350px) {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
&__item { &__item {
&--span-double-column { &--span-double-column {
grid-column: span 2; grid-column: span 2;