Fixed CSS for contact form on mobile and added in subject input box

This commit is contained in:
Rohit Pai 2022-01-03 00:54:42 +00:00
parent f2a5720481
commit 540d9872c7
3 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,7 @@ div#sayHello #contactForm{
#contactForm .flName { #contactForm .flName {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 1em; gap: 1;
} }
#contactForm .formControl { #contactForm .formControl {

View File

@ -367,6 +367,7 @@
#contactForm .flName { #contactForm .flName {
flex-direction: column; flex-direction: column;
gap: 0; gap: 0;
width: 100%;
} }
} }

View File

@ -137,6 +137,10 @@
<label for="email">Email</label> <label for="email">Email</label>
<input type="email" id="email" name="email"> <input type="email" id="email" name="email">
</div> </div>
<div class="formControl">
<label for="subject">Subject</label>
<input type="text" name="subject" id="subject"/>
</div>
<div class="formControl"> <div class="formControl">
<label for="message">Message</label> <label for="message">Message</label>
<textarea name="message" id="message" cols="30" rows="10"></textarea></div> <textarea name="message" id="message" cols="30" rows="10"></textarea></div>