aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/application.scss
diff options
context:
space:
mode:
authorKim <1877318+kimsible@users.noreply.github.com>2020-05-11 11:12:58 +0200
committerGitHub <noreply@github.com>2020-05-11 11:12:58 +0200
commit8544d8f561f6cd630973da041f36e46500fe95b7 (patch)
tree8a5b82d3e4b65308ce6584993cb3507450277f94 /client/src/sass/application.scss
parent70afd522ba3fc08fd407f622aad0f15e8e88b249 (diff)
downloadPeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.tar.gz
PeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.tar.zst
PeerTube-8544d8f561f6cd630973da041f36e46500fe95b7.zip
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
* Fix: correct my-account menu overflow-x on touchscreens * Add menuLeftDisplayed support for account-sub-menu * Handle menu in screen service + clean top-menu-dropdown * Add comment on menuWidth menu service to allow backtracking Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Rigel Kent <par@rigelk.eu>
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r--client/src/sass/application.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index bbecd8ba8..d637c94d9 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -320,6 +320,7 @@ table {
320 padding-left: 15px; 320 padding-left: 15px;
321 padding-right: 15px; 321 padding-right: 15px;
322 margin-bottom: $sub-menu-margin-bottom-small-view; 322 margin-bottom: $sub-menu-margin-bottom-small-view;
323 overflow-x: auto;
323 } 324 }
324 325
325 .admin-sub-header { 326 .admin-sub-header {
@@ -388,6 +389,11 @@ table {
388 .admin-sub-header { 389 .admin-sub-header {
389 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2); 390 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
390 } 391 }
392
393 .sub-menu {
394 overflow-x: auto;
395 width: calc(100vw - #{$menu-width});
396 }
391 } 397 }
392 } 398 }
393} 399}