Center sorting options on small displays (<640px)

This commit is contained in:
syeopite
2021-06-25 19:47:42 -07:00
parent c0673f8314
commit 515e617f0d
2 changed files with 8 additions and 1 deletions

View File

@@ -181,7 +181,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 %>