Merge pull request #94 from SISheogorath/fix/mathjax

Fix hidden MathJax output
This commit is contained in:
Sheogorath 2019-05-30 19:16:34 +02:00 committed by GitHub
commit ac0bcb1c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -384,7 +384,17 @@ small .dropdown a:focus, small .dropdown a:hover {
color: #eee;
}
*[id]:before {
/* Prevent linked heading from being hidden underneath navbar.
* Example: http://localhost:3000/features#Editor-Modes would open and
* hide the headline "Editor Modes" underneath the navbar without this CSS rule.
*/
.markdown-body h1[id]:before,
.markdown-body h2[id]:before,
.markdown-body h3[id]:before,
.markdown-body h4[id]:before,
.markdown-body h5[id]:before,
.markdown-body h6[id]:before {
display: block;
content: " ";
margin-top: -55px;