forked from midou/invidious
Fix feed menu on mobile
This commit is contained in:
parent
d6bd893573
commit
27cd1e73f3
@ -1,5 +1,5 @@
|
|||||||
<div class="h-box pure-g">
|
<div class="h-box pure-g">
|
||||||
<div class="pure-u-1-4"></div>
|
<div class="pure-u-1 pure-u-md-1-4"></div>
|
||||||
<div class="pure-u-1 pure-u-md-1-2">
|
<div class="pure-u-1 pure-u-md-1-2">
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<% feeds = ["Popular", "Top", "Trending"] %>
|
<% feeds = ["Popular", "Top", "Trending"] %>
|
||||||
@ -7,7 +7,7 @@
|
|||||||
<% feeds << "Subscriptions" %>
|
<% feeds << "Subscriptions" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% feeds.each do |feed| %>
|
<% feeds.each do |feed| %>
|
||||||
<div class="pure-u-1-<%= feeds.size %>">
|
<div class="pure-u-1-2 pure-u-md-1-<%= feeds.size %>">
|
||||||
<a href="/feed/<%= feed.downcase %>" style="text-align:center;" class="pure-menu-heading">
|
<a href="/feed/<%= feed.downcase %>" style="text-align:center;" class="pure-menu-heading">
|
||||||
<%= translate(locale, feed) %>
|
<%= translate(locale, feed) %>
|
||||||
</a>
|
</a>
|
||||||
@ -15,5 +15,5 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-u-1-4"></div>
|
<div class="pure-u-1 pure-u-md-1-4"></div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user