Skip to content

Commit

Permalink
Merge pull request #5331 from AntonKhorev/trace-badges-text-bg
Browse files Browse the repository at this point in the history
Set colors for trace visibility badges using .text-bg-*
  • Loading branch information
gravitystorm authored Nov 15, 2024
2 parents d185e83 + cfe08d4 commit 377391e
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 377391e

Please sign in to comment.