aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/application.scss
diff options
context:
space:
mode:
authorKim <1877318+kimsible@users.noreply.github.com>2020-05-01 00:51:09 +0200
committerGitHub <noreply@github.com>2020-05-01 00:51:09 +0200
commit7a03209d28f3f31d706dee08ae487d2ca1926893 (patch)
treee7d91832a312871d500590601cdde916455ba187 /client/src/sass/application.scss
parent0ac458bffb9389d649adcd86038385795bb6ad65 (diff)
downloadPeerTube-7a03209d28f3f31d706dee08ae487d2ca1926893.tar.gz
PeerTube-7a03209d28f3f31d706dee08ae487d2ca1926893.tar.zst
PeerTube-7a03209d28f3f31d706dee08ae487d2ca1926893.zip
Make admin sub-navs, selects, buttons responsive (#2702)
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r--client/src/sass/application.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index b62c91384..ab0bf0a08 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -322,6 +322,10 @@ table {
322 margin-bottom: $sub-menu-margin-bottom-small-view; 322 margin-bottom: $sub-menu-margin-bottom-small-view;
323 } 323 }
324 324
325 .admin-sub-header {
326 @include admin-sub-header-responsive(15px*2);
327 }
328
325 my-markdown-textarea { 329 my-markdown-textarea {
326 .root { 330 .root {
327 max-width: 100% !important; 331 max-width: 100% !important;
@@ -338,3 +342,13 @@ table {
338 } 342 }
339 } 343 }
340} 344}
345
346@media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
347 .main-col {
348 &:not(.expanded) {
349 .admin-sub-header {
350 @include admin-sub-header-responsive($menu-width/2 + $expanded-horizontal-margins/3);
351 }
352 }
353 }
354}