disable call highlight on buttons

This commit is contained in:
dwelle
2025-10-09 16:51:35 +02:00
parent 50098dcc21
commit 0ae818b73c
2 changed files with 11 additions and 0 deletions

View File

@@ -44,6 +44,11 @@ body.excalidraw-cursor-resize * {
height: 100%;
width: 100%;
button,
label {
@include buttonNoHighlight;
}
button {
cursor: pointer;
user-select: none;

View File

@@ -129,6 +129,12 @@
}
}
@mixin buttonNoHighlight {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
user-select: none;
}
@mixin outlineButtonIconStyles {
@include outlineButtonStyles;
padding: 0;