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
parent
commit
f47b59ac7a
No known key found for this signature in database GPG Key ID: 60C25B8C072916CF
  1. 4
      core/css/header.scss
  2. 3
      core/css/mobile.scss

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

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

Loading…
Cancel
Save