]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
Better display redundancy pies
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-notifications / my-account-notifications.component.scss
index d586eeb0d724bb4721c6e3930dc9e13580242ab7..b0ac45e300bc16d1ff5abeacb857bd074d9ae2f9 100644 (file)
@@ -1,5 +1,5 @@
-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 .header {
   display: flex;
@@ -32,8 +32,41 @@ my-user-notifications {
   .header {
     flex-direction: column;
 
-    & >:first-child {
+    > :first-child,
+    .peertube-select-container {
       margin-bottom: 15px;
     }
+
+    .peertube-select-container {
+      @include margin-left(0 !important);
+    }
+  }
+}
+
+@media screen and (min-width: $mobile-view) and (max-width: $small-view) {
+  .header {
+    a {
+      font-size: 0;
+      padding: 0 13px;
+    }
+
+    .peertube-select-container {
+      width: auto !important;
+    }
+  }
+}
+
+@media screen and (min-width: $mobile-view) and (max-width: #{$small-view + $menu-width}) {
+  :host-context(.main-col:not(.expanded)) {
+    .header {
+      a {
+        font-size: 0;
+        padding: 0 13px;
+      }
+
+      .peertube-select-container {
+        width: auto !important;
+      }
+    }
   }
 }