Skip to content

Commit

Permalink
Centered menu js (max-width)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay-SM committed May 7, 2014
1 parent d0bb1e1 commit 49ad411
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion js/init.js
Expand Up @@ -83,7 +83,6 @@ function autoWidthMenu () {
} else {
vElemsWidth = jQuery('.site-navigation').outerWidth() + 20;
}
vElemsWidth = vElemsWidth + 50;
jQuery('.menu-wrapper').css({'max-width': vElemsWidth + 'px'})
} else {
jQuery('.menu-wrapper').css({'max-width': 'none'})
Expand Down
2 changes: 1 addition & 1 deletion js/init.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 49ad411

Please sign in to comment.