Fix feed menu on mobile

This commit is contained in:
Omar Roth 2019-02-26 09:23:16 -06:00
parent d6bd893573
commit 27cd1e73f3
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<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-g">
<% feeds = ["Popular", "Top", "Trending"] %>
@ -7,7 +7,7 @@
<% feeds << "Subscriptions" %>
<% end %>
<% 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">
<%= translate(locale, feed) %>
</a>
@ -15,5 +15,5 @@
<% end %>
</div>
</div>
<div class="pure-u-1-4"></div>
<div class="pure-u-1 pure-u-md-1-4"></div>
</div>