diff --git a/assets/css/default.css b/assets/css/default.css index 25e4262f..51edba78 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -610,6 +610,7 @@ hr { display: inline-block; } +/* Split into .badge and #.featured */ .category .badge.featured { background: #005aa7; color: white; @@ -617,6 +618,7 @@ hr { border-radius: 5px; font-size: 14px; margin-left: 10px; + display: inline; } /* Temp */ diff --git a/src/invidious/views/trending.ecr b/src/invidious/views/trending.ecr index c75c992f..251bd7dd 100644 --- a/src/invidious/views/trending.ecr +++ b/src/invidious/views/trending.ecr @@ -48,7 +48,7 @@ <% else %>
-

<%= category.title %>

+ <%= category.title %> <% if (badges = category.badges).is_a? Array %> <% badges.each do | badge |%> <% if badge[0] == "BADGE_STYLE_TYPE_FEATURED" %>