From 9ef663c35ec18a4076a583fbcd3e0e54f7e66883 Mon Sep 17 00:00:00 2001 From: alma Date: Wed, 16 Apr 2025 12:20:23 +0200 Subject: [PATCH] mail page ui correction maj compose 7 --- app/mail/page.tsx | 61 ++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/app/mail/page.tsx b/app/mail/page.tsx index 81d302c..f515192 100644 --- a/app/mail/page.tsx +++ b/app/mail/page.tsx @@ -1079,9 +1079,9 @@ export default function MailPage() { {/* Compose Email Modal - Updated Design */} {showCompose && (
-
+
{/* Modal Header */} -
+

New Message

- {/* Modal Body */} -
-
+ {/* Modal Body - Make it scrollable */} +
+
{/* To Field */} -
+
setComposeTo(e.target.value)} placeholder="recipient@example.com" - className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" + className="w-full mt-1 bg-white border-gray-300" />
{/* CC/BCC Toggle Buttons */} -
- - +
{/* CC Field */} {showCc && ( -
+
setComposeCc(e.target.value)} placeholder="cc@example.com" - className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" + className="w-full mt-1 bg-white border-gray-300" />
)} {/* BCC Field */} {showBcc && ( -
+
setComposeBcc(e.target.value)} placeholder="bcc@example.com" - className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" + className="w-full mt-1 bg-white border-gray-300" />
)} {/* Subject Field */} -
+
setComposeSubject(e.target.value)} placeholder="Enter subject" - className="w-full border-gray-200 focus:border-blue-500 focus:ring-blue-500 rounded-md" + className="w-full mt-1 bg-white border-gray-300" />
{/* Message Body */} -
+