diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-25 15:12:08 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-25 15:12:08 +0200 |
commit | f47b59ac7aea40526da01d2cf4189ce406b5d0ce (patch) | |
tree | 75312c97dcd32215e68964fd7a9bcc0dd05ef0e8 /core/css | |
parent | 9823c7197150e4134490c043c2e2e53733eae783 (diff) | |
download | nextcloud-server-f47b59ac7aea40526da01d2cf4189ce406b5d0ce.tar.gz nextcloud-server-f47b59ac7aea40526da01d2cf4189ce406b5d0ce.zip |
Fix apps menu on mobile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/header.scss | 4 | ||||
-rw-r--r-- | core/css/mobile.scss | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 3b3a87ec714..ecb61976939 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -229,14 +229,14 @@ nav[role='navigation'] { position: relative; } -.header-left #navigation { +#header .header-left > nav > #navigation { position: relative; left: 25px; /* half the togglemenu */ transform: translateX(-50%); width: 160px; } -.header-left #navigation, +#header .header-left > nav > #navigation, .ui-datepicker, .ui-timepicker.ui-widget { background-color: var(--color-main-background); diff --git a/core/css/mobile.scss b/core/css/mobile.scss index 8fff98af4d6..2f869f7eeb1 100644 --- a/core/css/mobile.scss +++ b/core/css/mobile.scss @@ -132,8 +132,7 @@ } @media only screen and (max-width: 480px) { - #header .header-left > nav > .menu, - #header .header-right > div > .menu { + #header .header-right > nav > .menu { max-width: calc(100vw - 10px); position: fixed; &::after { |