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:
Takumi 2020-02-23 04:26:06 +09:00 committed by GitHub
parent 07336bb168
commit a613d02147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@
.ToolIcon_type_checkbox {
position: absolute;
opacity: 0;
pointer-events: none;
&:hover + .ToolIcon__icon {
background-color: #e9ecef;

View File

@ -81,6 +81,7 @@ canvas {
input[type="radio"] {
opacity: 0;
position: absolute;
pointer-events: none;
}
}