Skip to content

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

editor: ensure consistent gap between heading and first element in callout (#7757)

Ammar Ahmed2878f1d9cfb9
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index a88781d26..bc1fc2f52 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -698,6 +698,9 @@ p > *::selection {
margin-bottom: 1em;
}
+.ProseMirror div.callout > :first-child + * {
+ margin-top: 1em !important;
+}
.ProseMirror div.callout > :first-child {
margin: 0px;