Support overflow grid

This commit is contained in:
Omar Roth
2018-11-19 18:43:06 -06:00
parent ad20d6359b
commit c7e8d623c0
6 changed files with 14 additions and 14 deletions

View File

@@ -2,10 +2,10 @@
<title>Invidious</title>
<% end %>
<div class="pure-g">
<% top_videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>