Skip to content

Commit

Permalink
use type email for input email
Browse files Browse the repository at this point in the history
  • Loading branch information
jmau111 committed Aug 15, 2021
1 parent 3ffba55 commit 1ae1c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/scss/components/_contact-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
margin-top: 1rem;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 0.7rem;
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/contact-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>
<p>
<label for="email">Email</label>
<input type="text" id="email" name="email" required />
<input type="email" id="email" name="email" required />
</p>
<p>
<label for="message">Message</label>
Expand Down

0 comments on commit 1ae1c80

Please sign in to comment.