fix(#2984): add prose styles to rich-input editor

This commit is contained in:
Amruth Pillai
2026-05-07 21:43:07 +02:00
parent 1b0bb067b6
commit 891ce60270
4 changed files with 49 additions and 23 deletions
@@ -122,6 +122,7 @@ export function RichInput({ value, onChange, style, className, editorClassName,
"data-fullscreen": isFullscreen ? "true" : "false",
class: cn(
"group/editor overflow-y-auto p-3 pb-4",
"prose prose-sm prose-zinc dark:prose-invert max-w-none",
"rounded-md rounded-t-none border outline-none focus-visible:border-ring",
"[td:has(.selectedCell)]:bg-primary",
"data-[fullscreen=false]:max-h-[400px] data-[fullscreen=false]:min-h-[100px]",