mail page fix design

This commit is contained in:
alma 2025-04-21 20:07:44 +02:00
parent 0f3abe47e5
commit f05c4dac7f

View File

@ -214,12 +214,13 @@ export default function ComposeEmail({
{/* Message Body */} {/* Message Body */}
<div className="flex-1"> <div className="flex-1">
<Label htmlFor="message" className="block text-sm font-medium text-gray-700">Message</Label> <Label htmlFor="message" className="block text-sm font-medium text-gray-700">Message</Label>
<Textarea <div
id="message" ref={composeBodyRef}
value={composeBody} contentEditable
onChange={(e) => setComposeBody(e.target.value)} onInput={handleInput}
placeholder="Write your message..." className="w-full h-full mt-1 bg-white border border-gray-300 rounded-md p-2 text-gray-900 overflow-y-auto prose max-w-none"
className="w-full h-full mt-1 bg-white border-gray-300 text-gray-900 resize-none" style={{ minHeight: '200px' }}
dangerouslySetInnerHTML={{ __html: composeBody }}
/> />
</div> </div>
</div> </div>