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
… in mobile/tab view (Podio bug_71) (#45)

[FIX] fix for making the page not scroll to top when opening the menu (Podio bug_71)
  • Loading branch information
mesosa authored and dmh committed Dec 1, 2016
1 parent 6444b79 commit da4dfbe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dev/styles/main/header/header.less
Expand Up @@ -413,7 +413,6 @@
@media (max-width: 991px) {
.mobile-menu-opened, .mobile-menu-opened body {
overflow: hidden;
height: 100%;
background: @nav-background-color;
}
}
Expand Down Expand Up @@ -441,13 +440,14 @@
// }
@media (max-width: 991px) {
.mobile-menu-opened .main-navigation {
position: absolute;
top: @header-top-height - 1px;
left: 0;
right: 0;
-webkit-overflow-scrolling: touch;
-webkit-backface-visibility: hidden;
overflow-y: scroll;
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 da4dfbe

Please sign in to comment.