css: fix paginator position on most viewed posts page, top searches page.

Fix the paginator not being centered on the /explore/posts/viewed and
/explore/posts/searches pages.
This commit is contained in:
evazion
2021-03-07 22:22:49 -06:00
parent 53fdf66922
commit 27e62de316
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
</tbody>
</table>
<div class="paginator">
<div class="paginator text-center mt-4">
<menu>
<li><%= link_to "< Previous", searches_explore_posts_path(:date => 1.day.ago(@date).to_date), :class => "arrow" %></li>
<li><%= link_to "Next >", searches_explore_posts_path(:date => 1.day.since(@date).to_date), :class => "arrow" %></li>

View File

@@ -11,7 +11,7 @@
<%= post_previews_html(@posts) %>
<div class="paginator">
<div class="paginator text-center mt-4">
<menu>
<li><%= link_to "< Previous", viewed_explore_posts_path(:date => 1.day.ago(@date).to_date) %></li>
<li><%= link_to "Next >", viewed_explore_posts_path(:date => 1.day.since(@date).to_date) %></li>