One way to fix this is with pointer-events: none
on the image, and adjusting the label with for example display: inline-block
. (pointer-events
is supported in IE11.)
label{
display: inline-block;
}
label img{
pointer-events: none;
}
One way to fix this is with pointer-events: none
on the image, and adjusting the label with for example display: inline-block
. (pointer-events
is supported in IE11.)
label{
display: inline-block;
}
label img{
pointer-events: none;
}