From 6ec259a0e71174651bae95d4628138bf6fd68742 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:35 -0400 Subject: refactor: packages/ --- packages/excalidraw/components/ButtonIcon.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/excalidraw/components/ButtonIcon.scss (limited to 'packages/excalidraw/components/ButtonIcon.scss') 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; + } + } +} -- cgit v1.2.3