fix: scroll-bar class for editor compnent (#8310)

This commit is contained in:
Joe
2023-04-16 21:17:07 +02:00
committed by GitHub
parent 4e7c93a322
commit 88d151aa35
+1 -1
View File
@@ -71,7 +71,7 @@ export const Editor = (props: TextEditorProps) => {
variables={props.variables}
/>
<div
className={classNames("editor-inner", !editable && "bg-muted")}
className={classNames("editor-inner scroll-bar", !editable && "bg-muted")}
style={{ height: props.height }}>
<RichTextPlugin
contentEditable={<ContentEditable style={{ height: props.height }} className="editor-input" />}