diff options
author | Sheogorath | 2019-05-24 14:54:04 +0200 |
---|---|---|
committer | Sheogorath | 2019-05-24 15:00:41 +0200 |
commit | c9af13cf34d1b4d66e4c3a590b875669455122a4 (patch) | |
tree | a110961c0c36e4ba4b65935d92035d443b052a48 /public/css/mermaid.css | |
parent | de669c7b93a69966cee119ffda0da8b78e83a55a (diff) |
Fix hidden header on link
When people link a section or use the ToC to scroll to it upwards, it
happens that those become hidden behind the navbar.
This patch adds a little hack from StackOverflow[1] in order to fix this
problem. By adding a pseudo element in front of any field that contains
an id, it's possible to add the needed space.
There was no negative impact found except of marking around the header
areas in the rendered view requires a bit preciser work. This needs some
more detailed testing.
[1]: https://stackoverflow.com/a/24298427
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/css/mermaid.css')
0 files changed, 0 insertions, 0 deletions