diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 045c18840..c87ab3685 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -244,6 +244,13 @@ .card__meta-text { line-height: 1; white-space: nowrap; + + .icon { + --icon-size: 0.9em; + + margin-inline-end: 0.5ch; + vertical-align: top; + } } /* Top */ diff --git a/app/views/cards/display/common/_meta.html.erb b/app/views/cards/display/common/_meta.html.erb index 2a05a46ea..d5c1fdfb5 100644 --- a/app/views/cards/display/common/_meta.html.erb +++ b/app/views/cards/display/common/_meta.html.erb @@ -4,6 +4,7 @@ @@ -18,12 +20,14 @@ <% if card.creating? %> <% else %> + <%= icon_tag "refresh--meta" %> Updated <%= local_datetime_tag(card.last_active_at, style: :daysago) %> <% end %> diff --git a/app/views/cards/display/preview/_meta.html.erb b/app/views/cards/display/preview/_meta.html.erb index 8d9940fa2..bb6193a44 100644 --- a/app/views/cards/display/preview/_meta.html.erb +++ b/app/views/cards/display/preview/_meta.html.erb @@ -1,3 +1,30 @@ -<%= render "cards/display/common/meta", card: card, preview: true do %> - <%= render "cards/display/preview/assignees", card: card %> -<% end %> +