]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Correct margins for heading actions
authorSasha Sorokin <dafri.nochiterov8@gmail.com>
Sun, 12 Jan 2020 13:16:20 +0000 (20:16 +0700)
committerThibaut Girka <thib@sitedethib.com>
Sun, 12 Jan 2020 15:05:09 +0000 (16:05 +0100)
Port SCSS changes from 5dcca33c561ebeca9cf12eba8a39efee0dd484d0 to glitch-soc

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

index e7c9855b85ae6039e933ce49304651a2e90ff3e8..a1895d066986643083245d0bb0f67568b2027ad3 100644 (file)
@@ -186,17 +186,22 @@ $content-width: 840px;
 
       padding-bottom: 40px;
       border-bottom: 1px solid lighten($ui-base-color, 8%);
-      margin-bottom: 40px;
+
+      margin: -15px -15px 40px 0;
 
       flex-wrap: wrap;
       align-items: center;
-
       justify-content: space-between;
 
+      & > * {
+        margin-top: 15px;
+        margin-right: 15px;
+      }
+
       &-actions {
         display: inline-flex;
 
-        & > * {
+        & > :not(:first-child) {
           margin-left: 5px;
         }
       }