Commit 23d24116 authored by Clement Ho's avatar Clement Ho

[skip ci] Increase width for 99+ assignees

parent 71e7d91c
......@@ -257,6 +257,7 @@ ul.controls {
.author_link {
display: inline-block;
vertical-align: middle;
.avatar-inline {
margin-left: 0;
......
......@@ -484,11 +484,13 @@
.avatar-counter {
display: inline-block;
position: relative;
top: -0.2em;
height: 17px;
width: 17px;
line-height: 15px;
vertical-align: middle;
line-height: 16px;
min-width: 18px;
}
.wide-counter {
width: 25px;
}
}
}
......
......@@ -7,7 +7,8 @@
- if issue.assignees.length > max_render
- counter = issue.assignees.length - max_render
%span{ class:'avatar-counter has-tooltip', data: { container: 'body', placement: 'bottom', 'line-type' => 'old', 'original-title' => "+#{counter} more assignees" } }
%span{ class: "avatar-counter has-tooltip #{"wide-counter" if counter > 9}", data: { container: 'body', placement: 'bottom', 'line-type' => 'old', 'original-title' => "+#{counter} more assignees" } }
- if counter < 99
= "+#{counter}"
- else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment