mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 20:51:56 +00:00 
			
		
		
		
	Fix styling for featured badges on category
This commit is contained in:
		| @@ -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 */  | ||||
|   | ||||
| @@ -48,7 +48,7 @@ | ||||
|             <% else %> | ||||
|                 <div class="category pure-u-1"> | ||||
|                     <div class="category-heading h-box"> | ||||
|                         <p> <%= category.title %> </p> | ||||
|                         <span class="category-title"> <%= category.title %> </span> | ||||
|                         <% if (badges = category.badges).is_a? Array %> | ||||
|                             <% badges.each do | badge |%> | ||||
|                                 <% if badge[0] == "BADGE_STYLE_TYPE_FEATURED" %> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syeopite
					syeopite