adjustable height: to be improved

This commit is contained in:
Nizzy
2025-03-24 01:23:40 -07:00
parent e3216bf1e6
commit 6cd97dceb6
2 changed files with 2 additions and 2 deletions

View File

@@ -492,7 +492,7 @@ export default function Editor({
initialContent={initialValue || defaultEditorContent}
extensions={extensions}
ref={containerRef}
className="min-h-96 cursor-text"
className="min-h-52 cursor-text"
editorProps={{
handleDOMEvents: {
keydown: (view, event) => {

View File

@@ -236,7 +236,7 @@ export default function ReplyCompose({ emailData, isOpen, setIsOpen }: ReplyComp
<div className="bg-offsetLight dark:bg-offsetDark w-full p-2">
<form
className={cn(
'border-border ring-offset-background flex h-[300px] flex-col space-y-2.5 rounded-[10px] border px-2 py-2 transition-shadow duration-300 ease-in-out',
'border-border ring-offset-background flex h-fit flex-col space-y-2.5 rounded-[10px] border px-2 py-2 transition-shadow duration-300 ease-in-out',
isEditorFocused ? 'ring-2 ring-[#3D3D3D] ring-offset-1' : '',
)}
onDragOver={handleDragOver}