Skip to content

Commit

Permalink
Set colors for trace visibility badges using .text-bg-*
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Nov 15, 2024
1 parent b73f5d9 commit cfe08d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/traces/_trace.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
when "public", "identifiable" then "success"
else "danger"
end %>
<span class="badge bg-<%= badge_class %> text-white"><%= t(".#{trace.visibility}") %></span>
<span class="badge text-bg-<%= badge_class %>"><%= t(".#{trace.visibility}") %></span>
</li>
</ul>
<p class="text-body-secondary mb-0">
Expand Down

0 comments on commit cfe08d4

Please sign in to comment.