Support overflow grid

pull/258/head
Omar Roth 2018-11-19 18:43:06 -06:00
rodzic ad20d6359b
commit c7e8d623c0
6 zmienionych plików z 14 dodań i 14 usunięć

Wyświetl plik

@ -67,13 +67,13 @@
<hr>
</div>
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>
<div class="pure-g h-box">
<div class="pure-u-1 pure-u-md-1-5">

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -24,13 +24,13 @@
<p><%= playlist.description_html %></p>
</div>
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>
<div class="pure-g h-box">
<div class="pure-u-1 pure-u-md-1-5">

Wyświetl plik

@ -2,13 +2,13 @@
<title><%= search_query.not_nil!.size > 30 ? HTML.escape(query.not_nil![0,30].rstrip(".") + "...") : HTML.escape(query.not_nil!) %> - Invidious</title>
<% end %>
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>
<div class="pure-g h-box">
<div class="pure-u-1 pure-u-md-1-5">

Wyświetl plik

@ -23,25 +23,25 @@
</div>
<% end %>
<% notifications.each_slice(4) do |slice| %>
<div class="pure-g">
<% notifications.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>
<div class="h-box">
<hr>
</div>
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">
<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
</div>
<% end %>
</div>
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-5">