]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Enhance dashboard styles
authorMashiro <moezhx@outlook.com>
Thu, 21 Oct 2021 04:24:34 +0000 (12:24 +0800)
committerClaire <claire.github-309c@sitedethib.com>
Mon, 25 Oct 2021 18:36:31 +0000 (20:36 +0200)
Port b58d32cfe259d95ef28a61cbd863336350f2a3d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/admin.scss
app/javascript/flavours/glitch/styles/dashboard.scss

index 24618c29f2a8b74681cf727166be274ef7131a4d..bfb09aa0afdc87dd7b462ac664f804d6be40f971 100644 (file)
@@ -936,6 +936,13 @@ a.name-tag,
 }
 
 .retention {
+  overflow: auto;
+
+  > h4 {
+    position: sticky;
+    left: 0;
+  }
+
   &__table {
     &__number {
       color: $secondary-text-color;
@@ -1034,6 +1041,7 @@ a.name-tag,
   &__graph {
     position: absolute;
     bottom: 0;
+    width: 100%;
 
     svg {
       display: block;
index cad5a105be769571c9abc3f07aa4eb4734827c95..5e900e8c5135f286a422a1636a6757c0d6229ec5 100644 (file)
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
   grid-gap: 10px;
 
+  @media screen and (max-width: 1350px) {
+    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
+  }
+
   &__item {
     &--span-double-column {
       grid-column: span 2;