mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-29 00:29:42 +03:00
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:
1 parent
07336bb168
commit
a613d02147
2 files changed
+2
No files matched your search
@@ -55,6 +55,7 @@
|
||||
.ToolIcon_type_checkbox {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
&:hover + .ToolIcon__icon {
|
||||
background-color: #e9ecef;
|
||||
|
||||
@@ -81,6 +81,7 @@ canvas {
|
||||
input[type="radio"] {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user