Browse Source
Fix apps menu on mobile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/10853/head
John Molakvoæ (skjnldsv)
8 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with
3 additions and
4 deletions
-
core/css/header.scss
-
core/css/mobile.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); |
|
|
|
|
|
|
|
@ -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 { |
|
|
|
|