mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-13 11:09:54 +02:00
disable call highlight on buttons
This commit is contained in:
@@ -44,6 +44,11 @@ body.excalidraw-cursor-resize * {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
button,
|
||||||
|
label {
|
||||||
|
@include buttonNoHighlight;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
@@ -129,6 +129,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin buttonNoHighlight {
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
@mixin outlineButtonIconStyles {
|
@mixin outlineButtonIconStyles {
|
||||||
@include outlineButtonStyles;
|
@include outlineButtonStyles;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
Reference in New Issue
Block a user