input field correction updated

This commit is contained in:
Selvi 2025-10-28 13:56:44 +05:30
parent 57f2966547
commit e6b2375529
2 changed files with 10 additions and 6 deletions

View File

@ -329,7 +329,7 @@ function ChatForm({ onClose }) {
placeholder="Name"
value={formData.username}
onChange={handleChange}
className="form-control mb-2"
className="form-control mt-2 chat-form"
/>
{formErrors.username && <small className="text-danger">{formErrors.username}</small>}
@ -349,7 +349,7 @@ function ChatForm({ onClose }) {
placeholder="Phone"
value={formData.phone}
onChange={handleChange}
className="form-control mb-2"
className="form-control mt-3 chat-form"
/>
{formErrors.phone && <small className="text-danger">{formErrors.phone}</small>}
@ -359,7 +359,7 @@ function ChatForm({ onClose }) {
placeholder="Your Email"
value={formData.email}
onChange={handleChange}
className="form-control mb-2"
className="form-control mt-3 chat-form"
/>
{formErrors.email && <small className="text-danger">{formErrors.email}</small>}
@ -367,7 +367,7 @@ function ChatForm({ onClose }) {
name="service"
value={formData.service}
onChange={handleChange}
className="form-control mb-2"
className="form-control mt-3 chat-form"
>
<option value="">Select Service</option>
<option value="Physio">Physio</option>
@ -384,11 +384,11 @@ function ChatForm({ onClose }) {
placeholder="Message"
value={formData.message}
onChange={handleChange}
className="form-control mb-2"
className="form-control mt-3"
></textarea>
{formErrors.message && <small className="text-danger">{formErrors.message}</small>}
<div className="mb-2">
<div className="mt-3">
<ReCAPTCHA
sitekey="6Lckq9MrAAAAABjBD9rQYm19BMGFFWiwb9mPiw2K"
onChange={handleCaptchaChange}

View File

@ -3901,4 +3901,8 @@
margin-bottom: 17px;
}
}
.chat-form {
width: 100%;
height: 46px;
}