diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 9de4732..618bdf4 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -868,7 +868,7 @@ function transdate(){ $('.modules-menu-level-1').css('width',width) } } - $(document).resize(function() { + $(window).resize(function() { //$('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px'); calc_menu_pos(); diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 0428505..477d3dc 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -316,6 +316,7 @@ height: 100%; top: 40px; padding-top: 0; + overflow-y: scroll; } .modules-menu .modules-menu-level-0 > li > a, .modules-menu .modules-menu-level-0 ,.modules-menu .modules-menu-level-0 > li {color: #000; font-size: 18px ;