Skip to content

Commit

Permalink
[FIX] Blog Page Navigation (#2841) (#2846)
Browse files Browse the repository at this point in the history
I tested on my Github page and it worked correctly. Then, copied here. 

Issue: Blog page navigation extends layout of the page in small screens.
Fixes: #2841
  • Loading branch information
imsi32 authored Nov 19, 2024
1 parent b7ee266 commit 9674cfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/pagination.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ul class="pagination pagination-lg justify-content-center">
<li class="page-item {% unless paginator.previous_page %}disabled{% endunless %}">
<a class="page-link" href="{{ paginator.previous_page_path | relative_url }}" tabindex="-1" aria-disabled="{{ paginator.previous_page }}"
>Newer</a
>&lt;</a
>
</li>
{% if paginator.page_trail %}
Expand All @@ -14,7 +14,7 @@
{% endfor %}
{% endif %}
<li class="page-item {% unless paginator.next_page %}disabled{% endunless %}">
<a class="page-link" href="{{ paginator.next_page_path | relative_url }}">Older</a>
<a class="page-link" href="{{ paginator.next_page_path | relative_url }}">&gt;</a>
</li>
</ul>
</nav>
Expand Down
1 change: 1 addition & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ footer.sticky-bottom {
.page-item {
.page-link {
color: var(--global-text-color);
padding: 0.75rem 1.15rem;

&:hover {
color: $black-color;
Expand Down

0 comments on commit 9674cfc

Please sign in to comment.