fix: Margin jumping on empty paragraph below heading
This commit is contained in:
@@ -339,7 +339,9 @@ width: 100%;
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
|
||||||
& + p {
|
& + p,
|
||||||
|
// accounts for block insert trigger and other widgets between heading and paragraph
|
||||||
|
& + .ProseMirror-widget + p {
|
||||||
margin-top: 0.25em;
|
margin-top: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user