mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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:
parent
5cc3307165
commit
02f431b42f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user