diff --git a/assets/css/default.css b/assets/css/default.css index ac510e57..139cc086 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -641,6 +641,7 @@ p, display: inline-block; } +/* Split into .badge and #.featured */ .category .badge.featured { background: #005aa7; color: white; @@ -648,6 +649,7 @@ p, border-radius: 5px; font-size: 14px; margin-left: 10px; + display: inline; } /* Temp */ diff --git a/src/invidious/views/feeds/trending.ecr b/src/invidious/views/feeds/trending.ecr index c75c992f..251bd7dd 100644 --- a/src/invidious/views/feeds/trending.ecr +++ b/src/invidious/views/feeds/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" %>