From f83ba1e29e1a77fbf88c655cab249f15e497acfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Mon, 11 Nov 2024 20:24:53 +0900 Subject: [PATCH] docs: fix mobile menu background on light mode landing page (#18633) --- docs/.vitepress/theme/styles/landing.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/.vitepress/theme/styles/landing.css b/docs/.vitepress/theme/styles/landing.css index cc612c24b..18897f48b 100644 --- a/docs/.vitepress/theme/styles/landing.css +++ b/docs/.vitepress/theme/styles/landing.css @@ -3,6 +3,8 @@ /* /////////////////////// */ html:has(.landing) { + --vp-c-bg: #101010; + background-color: #101010; body { @@ -10,10 +12,6 @@ html:has(.landing) { } } -html.dark:has(.landing) { - --vp-c-bg: #101010; -} - .landing { overflow-x: hidden; background-color: #101010;