Commit 765008ba authored by Clement Ho's avatar Clement Ho

[skip ci] bye bye wide-counter

parent dc51a093
......@@ -488,10 +488,8 @@
min-width: 16px;
line-height: 14px;
height: 16px;
}
.wide-counter {
width: 27px;
padding-left: 2px;
padding-right: 2px;
}
}
}
......
......@@ -8,7 +8,7 @@
- if issue.assignees.length > max_render
- counter = issue.assignees.length - max_render
%span{ class: "avatar-counter has-tooltip #{"wide-counter" if counter > 9}", data: { container: 'body', placement: 'bottom', 'line-type' => 'old', 'original-title' => "+#{counter} more assignees" } }
%span{ class: 'avatar-counter has-tooltip', 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