diff --git a/src/renderer/src/assets/styles/markdown.scss b/src/renderer/src/assets/styles/markdown.scss index dddafd6d..ac8f78ab 100644 --- a/src/renderer/src/assets/styles/markdown.scss +++ b/src/renderer/src/assets/styles/markdown.scss @@ -9,13 +9,22 @@ margin-top: 0; } + h1:first-of-type, + h2:first-of-type, + h3:first-of-type, + h4:first-of-type, + h5:first-of-type, + h6:first-of-type { + margin-top: 0; + } + h1, h2, h3, h4, h5, h6 { - margin: 0 0 1em 0; + margin: 1em 0 1em 0; font-weight: 800; }