]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Improve report page structure
authorSasha Sorokin <dafri.nochiterov8@gmail.com>
Mon, 16 Dec 2019 22:55:16 +0000 (05:55 +0700)
committerThibaut Girka <thib@sitedethib.com>
Thu, 19 Dec 2019 13:37:12 +0000 (14:37 +0100)
Port 34aa5c7cb2090bf9d995eafdfbf5f9bd01336491 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/admin.scss

index 1d25d012906731acd477eedaf813968022c92415..d2f477d19824b6bbd65273c60e022b13c7f393b3 100644 (file)
@@ -181,18 +181,39 @@ $content-width: 840px;
       padding-top: 30px;
     }
 
-    h2 {
-      color: $secondary-text-color;
-      font-size: 24px;
-      line-height: 28px;
-      font-weight: 400;
+    &-heading {
+      display: flex;
+
       padding-bottom: 40px;
       border-bottom: 1px solid lighten($ui-base-color, 8%);
       margin-bottom: 40px;
 
+      flex-wrap: wrap;
+      align-items: center;
+
+      justify-content: space-between;
+
+      &-actions {
+        display: inline-flex;
+
+        & > * {
+          margin-left: 5px;
+        }
+      }
+
       @media screen and (max-width: $no-columns-breakpoint) {
         border-bottom: 0;
         padding-bottom: 0;
+      }
+    }
+
+    h2 {
+      color: $secondary-text-color;
+      font-size: 24px;
+      line-height: 28px;
+      font-weight: 400;
+
+      @media screen and (max-width: $no-columns-breakpoint) {
         font-weight: 700;
       }
     }