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; margin-bottom: 0 !important;
} }
.text blockquote>* { .text blockquote:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }

View File

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

View File

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

View File

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