aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/components/ButtonIcon.scss
diff options
context:
space:
mode:
Diffstat (limited to 'packages/excalidraw/components/ButtonIcon.scss')
-rw-r--r--packages/excalidraw/components/ButtonIcon.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/excalidraw/components/ButtonIcon.scss b/packages/excalidraw/components/ButtonIcon.scss
new file mode 100644
index 0000000..e435b69
--- /dev/null
+++ b/packages/excalidraw/components/ButtonIcon.scss
@@ -0,0 +1,12 @@
+@import "../css/theme";
+
+.excalidraw {
+ button.standalone {
+ @include outlineButtonIconStyles;
+
+ & > * {
+ // dissalow pointer events on children, so we always have event.target on the button itself
+ pointer-events: none;
+ }
+ }
+}