-
-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When clicking the footnote-links, sticky navbar height is not considered, resulting in the page landing too low. Same is true clicking the back-link from the footnote.
To Reproduce
Steps to reproduce the behavior:
- Create a long post with a link to a footnote (by adding [1] in the post and at the end of the post putting [1]: lorem ipsum)
- Click on the link to the footnote (1)
- Click the back-button (↩︎) from the footnote to return to the point in the footnote (1)
- Both locations on the page are off by the height of the navbar.
Alternatively test on my blog:
- Go to: the footnote here
- Scroll up the height of the navbar to see the link to the first footnote (1).
- Click the (back-link to the text)
- Again you must scroll up the height of the navbar to see the first footnote
Expected behavior
- The first row of the footnote should be visible when clicking the footnote link.
- The row linking to the footnote should be visible when clicking the "back-button ↩︎".
Desktop (please complete the following information):
- OS: Win 11
- Browser: Chrome
- Version of the Theme: latest
- Version of Hugo: hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended
Smartphone (please complete the following information):
- Device: Oneplus 9 Pro
- OS: Android 15
- Browser: Chrome
- Version of the Theme: latest
- Version of Hugo: v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working