HackMD/public
Sheogorath c9af13cf34
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>
2019-05-24 15:00:41 +02:00
..
css Fix hidden header on link 2019-05-24 15:00:41 +02:00
docs Clean up headings 2019-04-04 00:54:47 +02:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
js Fix toolbar day mode 2019-05-12 20:15:46 +02:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor Fix toolbar day mode 2019-05-12 20:15:46 +02:00
views remove single quote preceding mastodon link 2019-05-20 15:16:49 -04:00
.eslintrc.js switching to eslint for code checking 2018-11-14 23:15:36 +01:00
apple-touch-icon.png
codimd-icon-1024.png Rebrand HackMD to CodiMD 2018-06-24 13:24:12 +02:00
default.md
favicon.png
screenshot.png Add new screenshot 2019-04-01 23:19:02 +02:00