Skip to content

Commit 8f1066d

Browse files
committed
updated pagination design
1 parent 2aef872 commit 8f1066d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_includes/common/pagination.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<div class="pagination text-right mb-3">
22
{% if paginator.previous_page %}
3-
<a href="{{ paginator.previous_page_path }}" class="btn btn-primary pl-4 pr-4 pt-2 pb-2 previous mr-3">
3+
<a href="{{ paginator.previous_page_path }}" class="btn btn-sm btn-primary pl-4 pr-4 pt-2 pb-2 previous mr-3">
44
Previous
55
</a>
66
{% else %}
7-
<button disabled class="btn btn-primary pl-4 pr-4 pt-2 pb-2 previous mr-3">Previous</button>
7+
<button disabled class="btn btn-sm btn-primary pl-4 pr-4 pt-2 pb-2 previous mr-3">Previous</button>
88
{% endif %}
9-
<span class="page_number ">
9+
<span class="page_number small">
1010
Page: {{ paginator.page }} of {{ paginator.total_pages }}
1111
</span>
1212
{% if paginator.next_page %}
1313
<a href="{{ paginator.next_page_path }}" class="btn btn-primary btn-sm rounded-lg pl-4 pr-4 pt-2 pb-2 next ml-3">Next</a>
1414
{% else %}
15-
<button disabled class="btn btn-primary pl-4 pr-4 pt-2 pb-2 next ml-3">Next</button>
15+
<button disabled class="btn btn-sm btn-primary pl-4 pr-4 pt-2 pb-2 next ml-3">Next</button>
1616
{% endif %}
1717
</div>

0 commit comments

Comments
 (0)