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>
|
</h6>
|
||||||
|
|
||||||
<%= if length(chat.tags) > 0 do %>
|
<%= if length(chat.tags) > 0 do %>
|
||||||
<p>
|
|
||||||
<%= for tag <- chat.tags do %>
|
<%= for tag <- chat.tags do %>
|
||||||
<span class="badge text-bg-info"><%= tag %></span>
|
<span class="badge text-bg-info"><%= tag %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -74,6 +74,12 @@
|
||||||
<h6 class="card-subtitle mb-2 text-body-secondary">
|
<h6 class="card-subtitle mb-2 text-body-secondary">
|
||||||
<%= chat.num_messages %> message(s) - <%= DateTime.to_iso8601(chat.latest_message) %>
|
<%= chat.num_messages %> message(s) - <%= DateTime.to_iso8601(chat.latest_message) %>
|
||||||
</h6>
|
</h6>
|
||||||
|
|
||||||
|
<%= if length(chat.tags) > 0 do %>
|
||||||
|
<%= for tag <- chat.tags do %>
|
||||||
|
<span class="badge text-bg-info"><%= tag %></span>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Reference in a new issue