spring-io / antora-ui-spring

Mozilla Public License 2.0
13 stars 26 forks source link

Breadcrumbs hide headlines anchor links point to #257

Closed odrotbohm closed 3 weeks ago

odrotbohm commented 4 weeks ago

When resolving a URI pointing to an anchor link within a page, the browser ends up at the corresponding header but that is hidden by the breadcrumb bar:

Screenshot 2024-06-06 at 16 38 51

Note how the heading is "missing". It's there, you just need scroll down a bit. It would be nice if we rather ended up here:

Screenshot 2024-06-06 at 16 39 05

I generally wonder of how much value the breadcrumb bar is given that it essentially replicates the project name already visible on the left as well as the selected document's title, also visible and highlighted on the left and on the right.

philwebb commented 3 weeks ago

This used to work. I think the sticky breadcrumbs broke it. There's also a related by where if you go to the URL (e.g. https://docs.spring.io/spring-modulith/reference/events.html#publication-registry.managing-publications) and hit return the page scrolls down.