Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix heading and p gap (#6530)

Ammar Ahmedc26988134fa8
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index 2b1d78420..b80380855 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -14,6 +14,14 @@
pointer-events: none;
}
+.ProseMirror h1,
+.ProseMirror h2,
+.ProseMirror h3,
+.ProseMirror h4,
+.ProseMirror h5,
+.ProseMirror h6 {
+ margin-bottom: -10px;
+}
.ProseMirror p code {
background-color: var(--background-secondary);
}