Update post pager styling
This commit is contained in:
parent
019fd467ef
commit
231b3b9256
|
@ -1,6 +1,6 @@
|
||||||
<div class="flex mt-8 -mx-4">
|
<div class="lg:flex mt-8 -mx-4">
|
||||||
{% if page.previous_post %}
|
{% 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">
|
<a href="{{ page.previous_post.url }}" class="text-blue @text-blue-dark">
|
||||||
« {{ page.previous_post.title }}
|
« {{ page.previous_post.title }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.next_post %}
|
{% 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">
|
<a href="{{ page.next_post.url }}" class="text-blue @text-blue-dark">
|
||||||
{{ page.next_post.title }} »
|
{{ page.next_post.title }} »
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in a new issue