mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
adjustable height: to be improved
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user