Fix MR tab width
This commit is contained in:
parent
15a03e1d87
commit
b3a0ee8e63
2 changed files with 6 additions and 1 deletions
|
@ -79,6 +79,11 @@ nav.main_menu {
|
|||
border-left:none;
|
||||
}
|
||||
}
|
||||
|
||||
&.wide {
|
||||
width:185px;
|
||||
@media (min-width: 1080px) and (max-width: 1200px) { width:160px; }
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue