}
}
+@media screen and (max-width: $small-view) {
+ .header {
+ flex-direction: column;
+
+ .peertube-select-container,
+ my-button {
+ width: 100% !important;
+ margin-left: 0px !important;
+ margin-bottom: 10px !important;
+ }
+
+ my-button {
+ text-align: center;
+ }
+ }
+}
+
+@media screen and (max-width: #{$small-view + $menu-width}) {
+ :host-context(.main-col:not(.expanded)) {
+ .header {
+ flex-direction: column;
+
+ .peertube-select-container,
+ my-button {
+ width: 100% !important;
+ margin-left: 0px !important;
+ margin-bottom: 10px !important;
+ }
+
+ my-button {
+ text-align: center;
+ }
+ }
+ }
+}
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;
}
}
}
+
+@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);
+ }
+ }
+ }
+}
}
}
}
+
+@mixin admin-sub-header-responsive ($horizontal-margins) {
+ flex-direction: column;
+
+ .form-sub-title {
+ margin-right: 0px !important;
+ margin-bottom: 10px;
+ text-align: center;
+ }
+
+ .admin-sub-nav {
+ display: block;
+ overflow-x: auto;
+ white-space: nowrap;
+ height: 50px;
+ padding: 10px 0;
+ width: calc(100vw - #{$horizontal-margins*2});
+
+ a {
+ margin-left: 5px;
+ }
+ }
+}