From ae07f39cecdcd222c650174eab2d0e12f20404ce Mon Sep 17 00:00:00 2001 From: GU Yiling Date: Sat, 14 Sep 2024 14:05:14 +0800 Subject: [PATCH] fix: remove key press indicators from docsearch button (#111) --- src/vitepress/components/VPNavBarSearch.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vitepress/components/VPNavBarSearch.vue b/src/vitepress/components/VPNavBarSearch.vue index 7ac0621..7abbf4b 100644 --- a/src/vitepress/components/VPNavBarSearch.vue +++ b/src/vitepress/components/VPNavBarSearch.vue @@ -235,4 +235,9 @@ function load() { .DocSearch-Button:hover .DocSearch-Button-Key { color: var(--vt-c-brand-light); } + +.DocSearch-Button .DocSearch-Button-Key--pressed { + box-shadow: none; + transform: none; +}