mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
c9af13cf34
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> |
||
---|---|---|
.. | ||
css | ||
docs | ||
fonts | ||
js | ||
uploads | ||
vendor | ||
views | ||
.eslintrc.js | ||
apple-touch-icon.png | ||
codimd-icon-1024.png | ||
default.md | ||
favicon.png | ||
screenshot.png |