diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 47bd4bc..d4a5250 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -825,20 +825,21 @@ li.project-home-active span { } .federation-home-list { - + float: left; height: 27px; - width: 502px; - margin: 0 auto; + position: relative; + left: 50%; } .federation-home-list li { list-style: none; float: left; - padding: 0 20px; height: 27px; line-height: 27px; cursor: pointer; + position: relative; + left: -50%; } .federation-home-list li span { diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js index 99a21f2..8499b35 100755 --- a/frontend/web/js/script.js +++ b/frontend/web/js/script.js @@ -293,15 +293,6 @@ $(document).ready( function federationHome() { - var menu_width = 0; - $('.federation-home-list li').each( - function() - { - menu_width = menu_width + $(this).outerWidth() + 9 - } - ); - $('.federation-home-list').css({width : menu_width}); - $('.federation-home-list li').click( function() { -- libgit2 0.21.4