Skip to content

Commit 0c0340f

Browse files
committed
Fixed overlapping nav items
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 7d9cdfe commit 0c0340f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

theme/partials/page-nav.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav>
2-
<ul class="page-nav hidden-print">
2+
<ul class="list-unstyled page-nav row w-100 mt-5 mb-3 pt-5 pb-3">
33
{# Previous page #}
4-
<li class="page-nav__item">
4+
<li class="col text-nowrap text-md-start">
55
{% if page.previous_page and not page.previous_page.title.startswith("_") %}
66
<a rel="prev" class="page-nav__link page-nav__link--prev" href="{{ page.previous_page.url|url }}">
77
<i class="bi bi-chevron-left"></i>
@@ -11,7 +11,7 @@
1111
</li>
1212

1313
{# Next page #}
14-
<li class="page-nav__item">
14+
<li class="col text-nowrap text-md-end pe-0">
1515
{% if page.next_page and not page.next_page.title.startswith("_") %}
1616
<a rel="next" class="page-nav__link page-nav__link--next" href="{{ page.next_page.url|url }}">
1717
{{ page.next_page.title }}

0 commit comments

Comments
 (0)