From 935aa81ae7807f559a4edc3778feb79c7451283d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Thu, 9 Apr 2020 11:45:22 +0200 Subject: [PATCH] feat(docsearch): append modal to body --- src/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index a719d1d7..3ba6f941 100644 --- a/src/style.css +++ b/src/style.css @@ -91,7 +91,7 @@ html[data-theme='dark'] { --docsearch-muted-color: rgb(127, 132, 151); } -.DocSearch--active .main-wrapper { +.DocSearch--active #__docusaurus { filter: blur(2px); } @@ -167,6 +167,7 @@ html[data-theme='dark'] { } .DocSearch-Container { + z-index: var(--ifm-z-index-fixed); height: 100vh; width: 100vw; position: fixed;