fix: editor height (#5953)

* fix: editor height

* fix: removed unwanted class

* fix: editor height
This commit is contained in:
Akshita Goyal 2024-11-05 17:47:39 +05:30 committed by GitHub
parent b4de055463
commit 45a5cf5119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,8 @@ export const RichTextEditor = forwardRef<EditorRefApi, RichTextEditorWrapperProp
anchor: "",
})}
{...rest}
containerClassName={cn("relative pl-3 pb-3", containerClassName)}
containerClassName={containerClassName}
editorClassName="min-h-[100px] max-h-[50vh] border border-gray-100 rounded-md pl-3 pb-3 overflow-y-scroll"
/>
);
});