Add cursor pointer style to hidden radio buttons (#810)
* Add cursor pointer style to hidden radio buttons * ensure hidden input buttons don't interact with mouse Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
07336bb168
commit
a613d02147
@ -55,6 +55,7 @@
|
|||||||
.ToolIcon_type_checkbox {
|
.ToolIcon_type_checkbox {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
&:hover + .ToolIcon__icon {
|
&:hover + .ToolIcon__icon {
|
||||||
background-color: #e9ecef;
|
background-color: #e9ecef;
|
||||||
|
@ -81,6 +81,7 @@ canvas {
|
|||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user