Faux hide the native element for client side validation

Note that the hidden element is now 'clickable' and can be misaligned in some instances. If this becomes a problem, explore ways to reduce its footprint
This commit is contained in:
Samuel Georges 2021-03-15 13:27:13 +11:00
parent 5cc3307165
commit 02f431b42f

View File

@ -41,9 +41,11 @@
padding-left: 23px;
margin-top: 0;
// Faux hide the native element for client side validation
input[type=radio],
input[type=checkbox] {
display: none;
display: block;
opacity: 0;
}
label {