fix: Margin jumping on empty paragraph below heading

This commit is contained in:
Tom Moor
2024-04-23 19:48:09 -04:00
parent d5500540a4
commit c8a0343cf5

View File

@@ -339,7 +339,9 @@ width: 100%;
font-weight: 600;
cursor: text;
& + p {
& + p,
// accounts for block insert trigger and other widgets between heading and paragraph
& + .ProseMirror-widget + p {
margin-top: 0.25em;
}