editor: fix callout margins

This commit is contained in:
Ammar Ahmed
2024-02-22 13:33:23 +05:00
committed by Abdullah Atta
parent a33970250e
commit 34f909e37f

View File

@@ -659,8 +659,14 @@ p > *::selection {
padding: 15px;
border-radius: 10px;
background-color: rgba(var(--callout-color), 0.1);
margin-top: 1em;
}
.ProseMirror div.callout:not(div.callout > p[data-spacing="single"]){
margin-bottom: 1em;
}
.ProseMirror div.callout > :first-child {
margin: 0px;
color: rgb(var(--callout-color));