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 {
|
.custom-black-logo {
|
||||||
padding: 8px 15px;
|
padding: 8px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination a {
|
.pagination a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ungleich-center-div {
|
||||||
|
margin: auto;
|
||||||
|
width: 50%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{% macro render_pagination(pagination) %}
|
{% macro render_pagination(pagination) %}
|
||||||
|
<div class="ungleich-center-div">
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{% if pagination.has_prev %}
|
{% if pagination.has_prev %}
|
||||||
<a href="{{ pagination.prev|url }}">« Previous</a>
|
<a href="{{ pagination.prev|url }}">« Previous</a>
|
||||||
|
@ -21,4 +22,5 @@
|
||||||
<span class="disabled">Next »</span>
|
<span class="disabled">Next »</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
Loading…
Reference in a new issue