Fix MR tab width

This commit is contained in:
Dmitriy Zaporozhets 2012-07-02 12:15:23 +03:00
parent 15a03e1d87
commit b3a0ee8e63
2 changed files with 6 additions and 1 deletions

View file

@ -79,6 +79,11 @@ nav.main_menu {
border-left:none;
}
}
&.wide {
width:185px;
@media (min-width: 1080px) and (max-width: 1200px) { width:160px; }
}
}
}
/*

View file

@ -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