refactor newsletter subscription form layout for better responsiveness

This commit is contained in:
2025-05-27 16:43:21 +02:00
parent b908926912
commit ae6e2b020c

View File

@ -157,7 +157,7 @@ const Footer = () => {
</p> </p>
<form className="flex flex-col sm:flex-row gap-2"> <form className="flex flex-col sm:flex-row gap-2">
{/* Input needs dark background styles */} {/* Input needs dark background styles */}
<div className="relative"> <div className="relative max-w-md mx-auto w-full">
<input <input
type="email" type="email"
placeholder="Enter your email" placeholder="Enter your email"
@ -165,7 +165,6 @@ const Footer = () => {
className=" className="
w-full w-full
pr-24 pr-24
px-4 py-2 px-4 py-2
rounded-lg rounded-lg
bg-[var(--dark-input)] bg-[var(--dark-input)]