Fix alignment of the filter counter for Issuables

This commit is contained in:
Robert Speicher 2015-10-22 16:08:45 +02:00
parent 7924dd5c9f
commit 5f1c99b757
3 changed files with 16 additions and 5 deletions

View file

@ -80,3 +80,11 @@
}
}
}
.issuable-filter-count {
span {
display: block;
margin-bottom: -16px;
padding: 13px 0;
}
}

View file

@ -5,8 +5,9 @@
.nothing-here-block No issues to show
- if @issues.present?
.pull-right
%span.issue_counter #{@issues.total_count}
issues for this filter
.issuable-filter-count
%span.pull-right
= @issues.total_count
issues for this filter
= paginate @issues, theme: "gitlab"

View file

@ -5,8 +5,10 @@
.nothing-here-block No merge requests to show
- if @merge_requests.present?
.pull-right
%span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter
.issuable-filter-count
%span.pull-right
= @merge_requests.total_count
merge requests for this filter
= paginate @merge_requests, theme: "gitlab"