atomisthq / docs

End-user documentation sources and generator
https://docs.atomist.com
GNU General Public License v3.0
7 stars 28 forks source link

Internal links start a half inch too low #276

Closed jessitron closed 4 years ago

jessitron commented 5 years ago

When loading a page with an internal anchor -- for example https://docs.atomist.com/developer/commands/#wrap-a-shell-script the linked heading doesn't show until you scroll up a bit. It's hiding under the title bar.

The title bar is not part of the page flow. (The whole header isn't, it's fixed.) There's padding to compensate for this at the top of the page, but in the middle of the page part of what we want to see is hiding.

This is probably difficult to fix without a holistic fix that involves overriding the theme from the top level.

jessitron commented 5 years ago

if you want ALL the details along with commentary from an expert: https://www.twitch.tv/videos/397591626