diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 8b62d9e93..09063e1a2 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -253,6 +253,13 @@ } } + .card__assignees-trigger { + background: transparent; + border: none; + padding: 0; + display: flex; + } + .card__meta-text { line-height: 1; white-space: nowrap; diff --git a/app/views/cards/display/common/_assignees.html.erb b/app/views/cards/display/common/_assignees.html.erb index c07ec9e6d..57c520a05 100644 --- a/app/views/cards/display/common/_assignees.html.erb +++ b/app/views/cards/display/common/_assignees.html.erb @@ -1,16 +1,16 @@ -
- <% card.assignees.each do |assignee| %> - <%= avatar_tag assignee, tabindex: (local_assigns.key?(:preview) && local_assigns[:preview]) ? -1 : 0 %> - <% end %> +
> + + + - - <%= yield %> - -
+ + <%= yield %> +