mail page fix design
This commit is contained in:
parent
72aaefd76c
commit
ccff673a49
@ -224,16 +224,18 @@ 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}
|
||||||
className="w-full h-full mt-1 bg-white border border-gray-300 rounded-md p-2 text-gray-900 overflow-y-auto"
|
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"
|
||||||
style={{
|
style={{
|
||||||
minHeight: '200px',
|
minHeight: '200px',
|
||||||
direction: 'ltr',
|
direction: 'ltr',
|
||||||
textAlign: 'left'
|
textAlign: 'left',
|
||||||
|
unicodeBidi: 'bidi-override'
|
||||||
}}
|
}}
|
||||||
|
dir="ltr"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user