From 8f1cea6920831e78a1dd6b29d8d909bd1fb80dd3 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 7 Dec 2021 06:51:55 +0000 Subject: [PATCH] fix error --- assets/javascripts/app.js | 2 +- assets/stylesheets/template/modules/menu.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 ;