From afb862124a0504e4bbfe20063bc6c3bf3ccd4745 Mon Sep 17 00:00:00 2001 From: sendevia Date: Fri, 28 Nov 2025 00:27:29 +0800 Subject: [PATCH] feat(button): add user-select none for better UX --- .vitepress/theme/components/Button.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vitepress/theme/components/Button.vue b/.vitepress/theme/components/Button.vue index 1926958..da38a83 100644 --- a/.vitepress/theme/components/Button.vue +++ b/.vitepress/theme/components/Button.vue @@ -54,6 +54,8 @@ const props = withDefaults(defineProps(), { overflow: hidden; transition: border-radius var(--md-sys-motion-spring-fast-spatial-standard-duration) var(--md-sys-motion-spring-fast-spatial-standard); + user-select: none; + -moz-user-select: none; &::after { content: "";