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

[skip ci] bye bye wide-counter

parent dc51a093
...@@ -488,10 +488,8 @@ ...@@ -488,10 +488,8 @@
min-width: 16px; min-width: 16px;
line-height: 14px; line-height: 14px;
height: 16px; height: 16px;
} padding-left: 2px;
padding-right: 2px;
.wide-counter {
width: 27px;
} }
} }
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- if issue.assignees.length > max_render - if issue.assignees.length > max_render
- counter = 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 - if counter < 99
= "+#{counter}" = "+#{counter}"
- else - 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