]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
adapt notifications buttons for small screens
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-notifications / my-account-notifications.component.scss
index d586eeb0d724bb4721c6e3930dc9e13580242ab7..035fa2b27ecb5d654e54656f704862553e3ce8a9 100644 (file)
@@ -32,8 +32,40 @@ my-user-notifications {
   .header {
     flex-direction: column;
 
-    & >:first-child {
+    & >:first-child, .peertube-select-container {
       margin-bottom: 15px;
     }
+
+    .peertube-select-container {
+      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;
+      }
+    }
   }
 }