fix: remove max-height restriction from TextEditor component styling

This commit is contained in:
Ardeman
2025-03-10 17:14:27 +08:00
parent 60d11fbfa2
commit 0f5b26c2b8
+1 -1
View File
@@ -140,7 +140,7 @@ export const TextEditor = <TFormValues extends Record<string, unknown>>(
editor={editor}
id={id ?? generatedId}
className={twMerge(
'prose prose-headings:my-0.5 prose-p:my-0.5 max-h-96 max-w-none cursor-text overflow-y-auto rounded-b-md p-2',
'prose prose-headings:my-0.5 prose-p:my-0.5 max-w-none cursor-text overflow-y-auto rounded-b-md p-2',
inputClassName,
)}
onClick={() => editor?.commands.focus()}