fix(chat): tag styling
This commit is contained in:
parent
b301a3a726
commit
8900987e2c
2 changed files with 9 additions and 5 deletions
|
@ -11,11 +11,9 @@
|
|||
</h6>
|
||||
|
||||
<%= if length(chat.tags) > 0 do %>
|
||||
<p>
|
||||
<%= for tag <- chat.tags do %>
|
||||
<span class="badge text-bg-info"><%= tag %></span>
|
||||
<% end %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -74,6 +74,12 @@
|
|||
<h6 class="card-subtitle mb-2 text-body-secondary">
|
||||
<%= chat.num_messages %> message(s) - <%= DateTime.to_iso8601(chat.latest_message) %>
|
||||
</h6>
|
||||
|
||||
<%= if length(chat.tags) > 0 do %>
|
||||
<%= for tag <- chat.tags do %>
|
||||
<span class="badge text-bg-info"><%= tag %></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Reference in a new issue