+
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 */}
-
- {/* Modal Footer */}
-
+ {/* Modal Footer - Fixed at bottom */}
+
@@ -1206,13 +1203,13 @@ export default function MailPage() {
setShowCompose(false)}
>
Cancel
{
try {
await fetch('/api/mail/send', {