-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hidden headings behind navigation bar [upstream only] #3454
Conversation
44ce329
to
065762b
Compare
065762b
to
3a6b064
Compare
I did it!!! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's awesome, thank you Lena! Tested on https://theforeman-foreman-documentation-preview-pr-3454.surge.sh/nightly/Administering_Project/index-katello.html#Viewing_the_Ansible_Modules_admin ✔️
This was feedback by @lumarel at Foreman Birthday Party and I assume that a lot of people will be very happy with that change!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Aren't we going to cherry pick it to stable branches? |
We probably should, but on my phone now. Anyone who can do it before I get to it should feel free to do so |
What changes are you introducing?
Fixing problem with misplaced headings when clicking an item in the TOC
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
UX improvement for Foreman Docs.
Previously, when you clicked an item in the table of contents, the browser scrolled to the top of the page and the actual heading was hidden behind the navigation bar.
With this fix, the heading is visible.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Checklists
Please cherry-pick my commits into: