mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:58:29 -05:00 
			
		
		
		
	Use pure-menu-horizontal for trending tabs
This commit is contained in:
		
							parent
							
								
									5a8825d016
								
							
						
					
					
						commit
						765041f1b8
					
				| @ -11,28 +11,31 @@ | |||||||
| 
 | 
 | ||||||
| <%= rendered "components/feed_menu" %> | <%= rendered "components/feed_menu" %> | ||||||
| 
 | 
 | ||||||
| <div class="pure-g h-box"> | <div class="" style="text-align: center"> | ||||||
|     <div style="align-self:flex-end" class="pure-u-2-3"> |     <!-- <div style="align-self:flex-end" class="pure-u-2-3"> | ||||||
|         <% if plid %> |         <% if plid %> | ||||||
|             <a href="/playlist?list=<%= plid %>"> |             <a href="/playlist?list=<%= plid %>"> | ||||||
|                 <%= translate(locale, "View as playlist") %> |                 <%= translate(locale, "View as playlist") %> | ||||||
|             </a> |             </a> | ||||||
|         <% end %> |         <% end %> | ||||||
|     </div> |     </div> --> | ||||||
|     <div class="pure-u-1-3"> |     <div class="pure-menu pure-menu-horizontal"> | ||||||
|         <div class="pure-g" style="text-align:right"> |         <ui class="pure-menu-list"> | ||||||
|             <% {"Default", "Music", "Gaming", "Movies"}.each do |option| %> |             <% {"Default", "Music", "Gaming", "Movies"}.each do |option| %> | ||||||
|                 <div class="pure-u-1 pure-md-1-3"> |                 <% if trending_type == option %> | ||||||
|                     <% if trending_type == option %> |                     <li class="pure-menu-item pure-menu-selected"> | ||||||
|                         <b><%= translate(locale, option) %></b> |                         <b><a href="/feed/trending?type=<%= option %>®ion=<%= region %>" class="pure-menu-link"> | ||||||
|                     <% else %> |                           <%= translate(locale, option) %> | ||||||
|                         <a href="/feed/trending?type=<%= option %>®ion=<%= region %>"> |                         </a></b> | ||||||
|  |                 <% else %> | ||||||
|  |                     <li class="pure-menu-item"> | ||||||
|  |                         <a href="/feed/trending?type=<%= option %>®ion=<%= region %>" class="pure-menu-link"> | ||||||
|                             <%= translate(locale, option) %> |                             <%= translate(locale, option) %> | ||||||
|                         </a> |                         </a> | ||||||
|                     <% end %> |                     </li> | ||||||
|                 </div> |                 <% end %> | ||||||
|             <% end %> |             <% end %> | ||||||
|         </div> |         </ui> | ||||||
|     </div> |     </div> | ||||||
| </div> | </div> | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user