mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-24 06:49:37 -05:00
Center sorting options on small displays (<640px)
This commit is contained in:
parent
c0673f8314
commit
515e617f0d
@ -184,3 +184,10 @@ only show up when the screen is wide enough */
|
||||
#content-navigation {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Center sorting options when screen is less than 640px*/
|
||||
@media screen and (max-width: 640px) {
|
||||
#sort-options {
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
@ -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 %>
|
||||
|
Loading…
Reference in New Issue
Block a user