From 5125d6c3e21f4fb947aab0d71e8c3d8b889ecbdb Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 28 Feb 2024 22:12:28 +0100 Subject: [PATCH] docs: fix unsupported nested css (#2696) --- docs/.vitepress/theme/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/theme/index.css b/docs/.vitepress/theme/index.css index 947dceb125d..fd51def488f 100644 --- a/docs/.vitepress/theme/index.css +++ b/docs/.vitepress/theme/index.css @@ -69,8 +69,8 @@ table td ul li { .VPHero .action:not(:last-child) a.VPButton.alt { border-color: var(--vp-button-brand-bg) !important; +} - .dark & { - color: var(--vp-button-brand-text) !important; - } +.dark .VPHero .action:not(:last-child) a.VPButton.alt { + color: var(--vp-button-brand-text) !important; }