From a7e01ce7dd3e64709d495540fdfb353e55810a57 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 10 Mar 2025 12:10:25 +0500 Subject: [PATCH] editor: any element in callout after heading should have top margin --- packages/editor/styles/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css index 61d889238..bc1fc2f52 100644 --- a/packages/editor/styles/styles.css +++ b/packages/editor/styles/styles.css @@ -698,7 +698,7 @@ p > *::selection { margin-bottom: 1em; } -.ProseMirror div.callout > :first-child + p { +.ProseMirror div.callout > :first-child + * { margin-top: 1em !important; }