Skip to content

Commit

Permalink
Add missing "badge" class
Browse files Browse the repository at this point in the history
  • Loading branch information
skyporter committed May 16, 2024
1 parent bf16bdb commit 536dc03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/favorites/_catalogs.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% @catalogs.each do | catalog, count | %>
<h4>
<%= link_to catalog.name, favorites_path(:catalog => catalog.id) %>
<span class="rounded-pill text-bg-info pull-right"><%= count.to_s %></span>
<span class="badge rounded-pill text-bg-secondary pull-right"><%= count.to_s %></span>
</h4>
<% end %>
2 changes: 1 addition & 1 deletion app/views/searches/_catalogs.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% @catalogs.each do | catalog, count | %>
<h4>
<%= link_to catalog.name, searches_path(:catalog => catalog.id) %>
<span class="rounded-pill text-bg-info pull-right"><%= count.to_s %></span>
<span class="badge rounded-pill text-bg-info pull-right"><%= count.to_s %></span>
</h4>
<% end %>

0 comments on commit 536dc03

Please sign in to comment.