-
Notifications
You must be signed in to change notification settings - Fork 18k
x/website: anchor links don't show up if one hovers directly on a heading #70827
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
Comments
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
The way anchor links work on pkgsite is also how I would expect - hovering over the heading text in https://pkg.go.dev/io#pkg-variables shows the anchor symbol. |
Thanks. This has always bothered me as well! We would welcome a contribution to fix this. |
Previously, users had to hover directly over the ¶ symbol to reveal the anchor link, making it difficult to discover its existence. This change updates the CSS to also display the anchor link when hovering over the entire header text, improving usability. Fixes golang/go#70827
Change https://go.dev/cl/663875 mentions this issue: |
Splitting from #68596 (comment), which got ignored as it was a closed issue.
When I hover over "Doc Links", nothing happens - which is why I didn't even realise this got fixed earlier today. I have to move my cursor to the right of the heading - where the "reverse P" anchor symbol would be - for it to appear, as if I had to know ahead of time it would be there.
Can we make the anchor link show up whenever I hover over any of the heading area too? I think this is how anchor link hovers usually work on other websites, or at least that's how I intuitively think they work.
cc @hyangah @matttproud @cespare
The text was updated successfully, but these errors were encountered: