]> cat aescling's git repositories - mastodon.git/commitdiff
Improve appearance of notification cleaning UI
authorariasuni <perso@hack-libre.org>
Mon, 1 Jun 2020 00:10:45 +0000 (02:10 +0200)
committerThibG <thib@sitedethib.com>
Mon, 1 Jun 2020 10:28:27 +0000 (12:28 +0200)
- Use smaller font-size for consistency with the rest of the UI
- Make better use of the horizontal space when available

app/javascript/flavours/glitch/styles/components/columns.scss

index 3269638eb782d480ffc5a1461917b7b127e0f35e..6b657660a38a18c7c00d2a116990c5a9b5a33112 100644 (file)
     @extend .column-header__button;
     background: transparent;
     text-align: center;
-    padding: 10px 0;
-    white-space: pre-wrap;
+    padding: 10px 5px;
+    font-size: 14px;
   }
 
   b {
   }
 }
 
+
+.layout-single-column .column-header__notif-cleaning-buttons {
+  @media screen and (min-width: $no-gap-breakpoint) {
+    b, i {
+      margin-right: 5px;
+    }
+
+    br {
+      display: none;
+    }
+
+    button {
+      padding: 15px 5px;
+    }
+  }
+}
+
 // The notifs drawer with no padding to have more space for the buttons
 .column-header__collapsible-inner.nopad-drawer {
   padding: 0;