diff --git a/app/assets/stylesheets/nav.scss b/app/assets/stylesheets/nav.scss index 867a69d..0b3c0d4 100644 --- a/app/assets/stylesheets/nav.scss +++ b/app/assets/stylesheets/nav.scss @@ -79,6 +79,11 @@ nav.main_menu { border-left:none; } } + + &.wide { + width:185px; + @media (min-width: 1080px) and (max-width: 1200px) { width:160px; } + } } } /* diff --git a/app/views/layouts/_project_menu.html.haml b/app/views/layouts/_project_menu.html.haml index 268cca4..ff73bc2 100644 --- a/app/views/layouts/_project_menu.html.haml +++ b/app/views/layouts/_project_menu.html.haml @@ -12,7 +12,7 @@ Issues %span.count= @project.issues.opened.count - if @project.merge_requests_enabled - = link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current" : nil do + = link_to project_merge_requests_path(@project), :class => (controller.controller_name == "merge_requests") ? "current wide" : "wide" do Merge Requests %span.count= @project.merge_requests.opened.count -- libgit2 0.21.2