Skip to content
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

Site header covers the top half of the section H2 header text when auto scrolling #13558

Open
YanisaHS opened this issue Feb 8, 2024 · 4 comments

Comments

@YanisaHS
Copy link

YanisaHS commented Feb 8, 2024

When you use the link for a specific heading on a page (e.g., https://ubuntu.com/landscape/docs/install-landscape-client#heading--install-landscape-client-from-the-main-repository), the auto-scroll covers the top half of the text in the section heading (H2) with the main Header bar.

This affects all pages that I tested it on in the Landscape Docs (and likely other Ubuntu docs). The photo shows what the section heading (H2) looks like when you auto-scroll directly to it from the heading link.

image


Reported from: https://ubuntu.com/landscape/docs/install-landscape-client

@magbello157
Copy link

I would love to fix this issue by adding a bit of scroll margin to the relevant section titles. I read the ARCHITECTURE.md and dug through the code base to find where to make the change. I noticed that the documentation content is dynamically generated by this script.

To understand where the script is coming from and how it works, the documentation led me to Creating Discourse-based Documentation Pages, but unfortunately, I can't access the guide.

I keep getting a "Unable to process SAML request or attempt" error. I filed a bug report and hope to get resolution soon, but will appreciate any pointers if possible in the mean time.

@lizzochek
Copy link
Contributor

@YanisaHS the pages have been redesigned and I believe this issue is not happening now. If you believe something is still incorrect, please reopen the issue. Thank you

@magbello157
Copy link

@lizzochek I just tested and the problem is still present from what I can see

@YanisaHS YanisaHS reopened this Aug 12, 2024
@YanisaHS
Copy link
Author

@lizzochek It's still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants