Set the float: left style on the 'Older Posts' button so the pagination buttons are drawn with the same height
This commit is contained in:
parent
2d76193b9e
commit
9996c5077f
2 changed files with 5 additions and 1 deletions
|
@ -290,6 +290,10 @@ a.btn:hover {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.float-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.float-right {
|
.float-right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% if DEFAULT_PAGINATION %}
|
{% if DEFAULT_PAGINATION %}
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% if articles_page.has_next() %}
|
{% if articles_page.has_next() %}
|
||||||
<a class="btn" href="{{ SITEURL }}/{{ articles_next_page.url }}">
|
<a class="btn float-left" href="{{ SITEURL }}/{{ articles_next_page.url }}">
|
||||||
<i class="fa fa-angle-left"></i> {{ _('Older Posts') }}
|
<i class="fa fa-angle-left"></i> {{ _('Older Posts') }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue