Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-25 16:12:08 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-25 16:12:08 +0300
commitf47b59ac7aea40526da01d2cf4189ce406b5d0ce (patch)
tree75312c97dcd32215e68964fd7a9bcc0dd05ef0e8 /core/css
parent9823c7197150e4134490c043c2e2e53733eae783 (diff)
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.scss4
-rw-r--r--core/css/mobile.scss3
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 {