git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
32d31a9
)
Remove top margin from first-of-type headers
author
Adam Dullage
<redacted>
Sun, 3 Dec 2023 22:07:09 +0000
(22:07 +0000)
committer
Adam Dullage
<redacted>
Sun, 3 Dec 2023 22:07:09 +0000
(22:07 +0000)
flatnotes/src/toastui-editor-overrides.scss
patch
|
blob
|
history
diff --git
a/flatnotes/src/toastui-editor-overrides.scss
b/flatnotes/src/toastui-editor-overrides.scss
index 71a839d13b29619a3f5e0c7ebfa40938c814308e..8b57fb1c5c8122aef72f16dc31b1b3700c3c2bc9 100644
(file)
--- a/
flatnotes/src/toastui-editor-overrides.scss
+++ b/
flatnotes/src/toastui-editor-overrides.scss
@@
-28,7
+28,6
@@
.toastui-editor-contents,
.ProseMirror {
h1,
- h1:first-of-type,
.toastui-editor-md-heading1,
h2,
.toastui-editor-md-heading2,
@@
-45,6
+44,10
@@
margin: 1em 0 0.5em 0;
padding: 0;
border-bottom: none;
+
+ &:first-of-type {
+ margin-top: 0;
+ }
}
h1,
git clone https://git.99rst.org/PROJECT