Center sorting options on small displays (<640px)

(cherry picked from commit 102d88a594)
This commit is contained in:
syeopite 2021-06-25 19:47:42 -07:00
parent e0684e3dc3
commit beff17710e
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -153,7 +153,7 @@
<% route = content_type == 1 ? "/videos" : "/playlists" %>
<% 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;">
<% sort_options.each do |sort| %>
<% if sort_by == sort %>