Make the pagination buttons draw with the same height (#92)
This commit is contained in:
parent
25be6c1a1a
commit
772035ea96
3 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
2
static/stylesheet/style.min.css
vendored
2
static/stylesheet/style.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue