Update post pager styling

This commit is contained in:
Oliver Davies 2018-01-30 21:53:07 +00:00
parent 019fd467ef
commit 231b3b9256

View file

@ -1,6 +1,6 @@
<div class="flex mt-8 -mx-4">
<div class="lg:flex mt-8 -mx-4">
{% if page.previous_post %}
<div class="w-1/2 px-4">
<div class="lg:w-1/2 px-4 mb-2 lg:mb-0">
<a href="{{ page.previous_post.url }}" class="text-blue @text-blue-dark">
&laquo; {{ page.previous_post.title }}
</a>
@ -8,7 +8,7 @@
{% endif %}
{% if page.next_post %}
<div class="w-1/2 px-4 text-right">
<div class="lg:w-1/2 px-4 lg:text-right">
<a href="{{ page.next_post.url }}" class="text-blue @text-blue-dark">
{{ page.next_post.title }} &raquo;
</a>