Make the pagination buttons draw with the same height (#92)

This commit is contained in:
Oliver Pratt 2017-03-02 20:01:46 +00:00 committed by Alexandre Vicenzi
parent 25be6c1a1a
commit 772035ea96
3 changed files with 7 additions and 3 deletions

View file

@ -134,7 +134,7 @@ main {
}
.pagination {
margin: 4% 8% 2% 8%;
margin: 4% 8% 4% 8%;
height: 20px;
}
@ -290,6 +290,10 @@ a.btn:hover {
display: block;
}
.float-left {
float: left;
}
.float-right {
float: right;
}

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{% if DEFAULT_PAGINATION %}
<div class="pagination">
{% 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') }}
</a>
{% endif %}