Make admin sub-navs, selects, buttons responsive (#2702)
[oweals/peertube.git] / client / src / sass / application.scss
index b62c91384e9fdd6cd965aa6cb5bf057ffb41ca24..ab0bf0a08a8d503a6ec8f675536d45727c4bf332 100644 (file)
@@ -322,6 +322,10 @@ table {
         margin-bottom: $sub-menu-margin-bottom-small-view;
       }
 
+      .admin-sub-header {
+        @include admin-sub-header-responsive(15px*2);
+      }
+
       my-markdown-textarea {
         .root {
           max-width: 100% !important;
@@ -338,3 +342,13 @@ table {
     }
   }
 }
+
+@media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
+  .main-col {
+    &:not(.expanded) {
+      .admin-sub-header {
+        @include admin-sub-header-responsive($menu-width/2 + $expanded-horizontal-margins/3);
+      }
+    }
+  }
+}