From 7fb3786afd04f38fdb9cb306474ec2ad2d488e38 Mon Sep 17 00:00:00 2001 From: Miroma <136986257+its-miroma@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:01:09 +0200 Subject: [PATCH] Fix background color of key in search (#196) --- .vitepress/theme/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index bfec87201..49f8e8c4c 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -97,8 +97,8 @@ } /* Keybinding CSS ( tags) */ -kbd { - background-color: #eee; +kbd:not(.DocSearch-Button-Key) { + background-color: #eee !important; border-radius: 3px; border: 1px solid #b4b4b4; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),