Center align the pagination div
This commit is contained in:
parent
079e7f1642
commit
e752946ed6
2 changed files with 9 additions and 0 deletions
|
@ -423,6 +423,13 @@ body {
|
|||
.custom-black-logo {
|
||||
padding: 8px 15px;
|
||||
}
|
||||
|
||||
.pagination a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.ungleich-center-div {
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% macro render_pagination(pagination) %}
|
||||
<div class="ungleich-center-div">
|
||||
<div class="pagination">
|
||||
{% if pagination.has_prev %}
|
||||
<a href="{{ pagination.prev|url }}">« Previous</a>
|
||||
|
@ -21,4 +22,5 @@
|
|||
<span class="disabled">Next »</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in a new issue