1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 05:25:33 -04:00

some client-side validation on contact form

exactly identical errors to the one the server sends, but saves a few requests
This commit is contained in:
2021-10-15 08:30:54 -04:00
parent 22dedf640a
commit 0b5c95ac42
4 changed files with 71 additions and 60 deletions

View File

@@ -13,14 +13,14 @@ div.layout-contact {
p {
font-size: 0.9em;
margin-bottom: 0.5em;
}
a code {
background: none;
border: 0;
padding: 0;
word-spacing: -0.2em;
white-space: normal;
}
code {
background: none !important;
border: 0;
padding: 0;
word-spacing: -0.175em;
white-space: normal; // re-enable "word" wrapping
}
input[type="text"],