Skip to content

Commit

Permalink
[FIX] fix for making the page not scroll to top when opening the menu…
Browse files Browse the repository at this point in the history
… (Podio bug_71)
  • Loading branch information
dmh committed Dec 1, 2016
1 parent 1fdccea commit 18b9f29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev/styles/main/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
@media (max-width: 991px) {
.mobile-menu-opened, .mobile-menu-opened body {
overflow: hidden;
height: 100%;
// height: 100%;
background: @nav-background-color;
}
}
Expand All @@ -435,13 +435,15 @@

@media (max-width: 991px) {
.mobile-menu-opened .main-navigation {
position: absolute;
// position: absolute;
position: fixed;
top: @header-top-height - 1px;
left: 0;
right: 0;
-webkit-overflow-scrolling: touch;
-webkit-backface-visibility: hidden;
overflow-y: scroll;
height: 100%;
}
.mobile-menu-opened .main-navigation__items-wrp{
padding-bottom: 150px!important;
Expand Down

0 comments on commit 18b9f29

Please sign in to comment.