fix: key-value-table styles (#4678)
This commit is contained in:
parent
0960b17fbc
commit
2ee3a1b6f3
3 changed files with 7 additions and 5 deletions
|
|
@ -142,7 +142,7 @@ const PromptEditor: FC<PromptEditorProps> = ({
|
|||
|
||||
return (
|
||||
<LexicalComposer initialConfig={{ ...initialConfig, editable }}>
|
||||
<div className='relative'>
|
||||
<div className='relative h-full'>
|
||||
<RichTextPlugin
|
||||
contentEditable={<ContentEditable className={`${className} outline-none ${compact ? 'leading-5 text-[13px]' : 'leading-6 text-sm'} text-gray-700`} style={style || {}} />}
|
||||
placeholder={<Placeholder value={placeholder} className={placeholderClassName} compact={compact} />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue