Fix apps menu on mobile

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-08-25 15:12:08 +02:00
parent 9823c71971
commit f47b59ac7a
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with 3 additions and 4 deletions

View File

@ -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);

View File

@ -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 {