Skip to content

Commit

Permalink
Fix apps menu on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv authored and weeman1337 committed Sep 6, 2018
1 parent d6e05a0 commit 609a99a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions core/css/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 609a99a

Please sign in to comment.