AMWA-TV / nmos-render-layouts

Layouts and CSS for AMWA NMOS documentation
Apache License 2.0
0 stars 0 forks source link

Fragment target hidden under menu bar #2

Closed peterbrightwell closed 4 years ago

peterbrightwell commented 4 years ago

e.g. for https://amwa-tv.github.io/nmos/branches/master/NMOS_Technical_Overview.html#general-principles, "General Principles" is under the menu bar.

garethsb commented 4 years ago

Reminded of this again - https://github.com/AMWA-TV/nmos-testing/pull/559#pullrequestreview-475497901 Looks like plenty of suggestions from here - https://stackoverflow.com/questions/4086107/fixed-page-header-overlaps-in-page-anchors

peterbrightwell commented 4 years ago

I've gone with the scroll-padding-top approach (1150ac3fb1562ddf2187e39387b70d75f913fcbc). @garethsb-sony this works a little better than the version you saw earlier as it doesn't insert space within the page. On Android, you'll see text above the target where the menu should be but I thinkk that's fine).

See e.g. https://amwa-tv.github.io/nmos-audio-channel-mapping/tags/v1.0.1/docs/1.0._Overview.html. Others will build on cron.

garethsb commented 4 years ago

Yes, that's great, Peter, thank you!!