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 { ...@@ -257,6 +257,7 @@ ul.controls {
.author_link { .author_link {
display: inline-block; display: inline-block;
vertical-align: middle;
.avatar-inline { .avatar-inline {
margin-left: 0; margin-left: 0;
......
...@@ -484,11 +484,13 @@ ...@@ -484,11 +484,13 @@
.avatar-counter { .avatar-counter {
display: inline-block; display: inline-block;
position: relative; vertical-align: middle;
top: -0.2em; line-height: 16px;
height: 17px; min-width: 18px;
width: 17px; }
line-height: 15px;
.wide-counter {
width: 25px;
} }
} }
} }
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
- 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', 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 - 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