修复md引用弹框的样式问题

This commit is contained in:
谢思 2023-07-10 11:34:46 +08:00
parent 2c956ce961
commit 4bb9b1ee39
2 changed files with 3 additions and 1 deletions

View File

@ -79,5 +79,7 @@
.editormd-editing .editormd{
border: none;
margin:0px auto;
}
.editormd-editing .quoteBox{
overflow: unset;
}

View File

@ -762,7 +762,7 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla
return (
<Fragment>
<div ref={editorEl} className={`df editormd-editing ${className} ${imageExpand && 'editormd-image-click-expand'} `}>
<div className={`edu-back-greyf5 radius4 editormd ${error ? 'error' : ''}`} id={containerId} >
<div className={`edu-back-greyf5 radius4 editormd ${error ? 'error' : ''} ${quoteVisible || atWhoVisible ? 'quoteBox' : ''}`} id={containerId} >
{quoteVisible && QuoteDiv }
{atWhoVisible && atWhoList}
<textarea style={{ display: 'none' }} id={editorBodyId} name="content"></textarea>