mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix styling for featured badges on category
This commit is contained in:
parent
36019fa438
commit
2a2f54289a
2 changed files with 3 additions and 1 deletions
|
@ -641,6 +641,7 @@ p,
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Split into .badge and #.featured */
|
||||||
.category .badge.featured {
|
.category .badge.featured {
|
||||||
background: #005aa7;
|
background: #005aa7;
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -648,6 +649,7 @@ p,
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Temp */
|
/* Temp */
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="category pure-u-1">
|
<div class="category pure-u-1">
|
||||||
<div class="category-heading h-box">
|
<div class="category-heading h-box">
|
||||||
<p> <%= category.title %> </p>
|
<span class="category-title"> <%= category.title %> </span>
|
||||||
<% if (badges = category.badges).is_a? Array %>
|
<% if (badges = category.badges).is_a? Array %>
|
||||||
<% badges.each do | badge |%>
|
<% badges.each do | badge |%>
|
||||||
<% if badge[0] == "BADGE_STYLE_TYPE_FEATURED" %>
|
<% if badge[0] == "BADGE_STYLE_TYPE_FEATURED" %>
|
||||||
|
|
Loading…
Reference in a new issue