diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 8a7f4a6..be8f95d 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -826,7 +826,7 @@ function transdate(){ e.preventDefault(); } }); - $('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px'); + //$('.modules-menu-level-1').css('left','-'+$('.outdropdowns .dropdowns').offset().left+'px'); $(".downIcon").click(function() { var move_to_target=function (stop) { var theTop; diff --git a/assets/stylesheets/template/modules/menu.scss b/assets/stylesheets/template/modules/menu.scss index 8b8ff46..da9e86a 100644 --- a/assets/stylesheets/template/modules/menu.scss +++ b/assets/stylesheets/template/modules/menu.scss @@ -179,12 +179,12 @@ @media(min-width:769px){ flex-wrap: wrap; justify-content: flex-start; - left:0; + right: 0; display: flex; visibility: hidden; position: fixed!important; opacity: 0; - width: 100vw; + width: 80vw; box-shadow: 2px 2px 5px #00000033; margin: 0.8em 0; padding: 0;