You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix position of headings when following links #163
That seems to work, but replacing the existing top margin and padding changes the layout.
So margins that would normally collapse together are no longer able to.
I've got the code written and working so I'll open a PR for further comments.
Activity
MattMS commentedon Dec 27, 2016
We cannot use the hack fix from #161 because the HTML is generated from Markdown.
Using the
body {padding-top: @navbar-height;}recommended fix does not seem to work either.davidchambers commentedon Dec 27, 2016
What I've done in the past is given each heading top padding and negative top margin.
MattMS commentedon Dec 30, 2016
That seems to work, but replacing the existing top margin and padding changes the layout.
So margins that would normally collapse together are no longer able to.
I've got the code written and working so I'll open a PR for further comments.