fix blockquote spacing

This commit is contained in:
keyan 2023-01-05 19:06:31 -06:00
parent 2080cb896d
commit 76b5b7743e
4 changed files with 7 additions and 2 deletions

View File

@ -59,7 +59,7 @@
margin-bottom: 0 !important;
}
.text blockquote>* {
.text blockquote:last-child {
margin-bottom: 0 !important;
}

View File

@ -13,6 +13,7 @@ const theme = {
image: styles.image,
link: styles.link,
code: styles.code,
hr: styles.hr,
list: {
nested: {
listitem: styles.nestedListItem

View File

@ -112,7 +112,7 @@ function Markdown () {
return (
<>
<div className='text-left w-100'>
<div className='lexical text-left w-100'>
<OnChangePlugin onChange={() => editor.update(() => {
setMarkdown($convertToMarkdownString(SN_TRANSFORMERS))
})}

View File

@ -61,6 +61,10 @@ $tooltip-bg: #5c8001;
}
}
.lexical blockquote>* {
margin-bottom: 0 !important;
}
.modal-close {
cursor: pointer;
display: flex;