mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-17 01:58:29 +00:00
Center sorting options on small displays (<640px)
(cherry picked from commit 102d88a594
)
This commit is contained in:
parent
e0684e3dc3
commit
beff17710e
@ -153,7 +153,7 @@
|
|||||||
<% route = content_type == 1 ? "/videos" : "/playlists" %>
|
<% route = content_type == 1 ? "/videos" : "/playlists" %>
|
||||||
<% url = "/channel/#{channel.ucid + route}" %>
|
<% url = "/channel/#{channel.ucid + route}" %>
|
||||||
|
|
||||||
<div class="pure-menu pure-menu-horizontal" style="display: flex;">
|
<div class="pure-menu pure-menu-horizontal" id="sort-options" style="display: flex;">
|
||||||
<ul class="pure-menu-list" style="margin-left: auto;">
|
<ul class="pure-menu-list" style="margin-left: auto;">
|
||||||
<% sort_options.each do |sort| %>
|
<% sort_options.each do |sort| %>
|
||||||
<% if sort_by == sort %>
|
<% if sort_by == sort %>
|
||||||
|
Loading…
Reference in New Issue
Block a user