Style 'next' link for search view

This commit is contained in:
Omar Roth 2018-01-21 11:05:54 -06:00
parent 1305410f4d
commit 92f2e61624
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<% content_for "header" do %> <% content_for "header" do %>
<%= query.size > 30 ? query[0,30].chomp("...") + "... - " : query + " - " %> <title><%= query.size > 30 ? query[0,30].chomp("...") + "..." : query %> - Invidious</title>
<% end %> <% end %>
<% videos.each do |item| %> <% videos.each do |item| %>
@ -21,5 +21,5 @@
<% end %> <% end %>
<p style="text-align: right"> <p style="text-align: right">
<a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a> <a class="link" href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
</p> </p>