Skip to content

Commit 935aa81

Browse files
feat(docsearch): append modal to body
1 parent 92fa12d commit 935aa81

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ html[data-theme='dark'] {
9191
--docsearch-muted-color: rgb(127, 132, 151);
9292
}
9393

94-
.DocSearch--active .main-wrapper {
94+
.DocSearch--active #__docusaurus {
9595
filter: blur(2px);
9696
}
9797

@@ -167,6 +167,7 @@ html[data-theme='dark'] {
167167
}
168168

169169
.DocSearch-Container {
170+
z-index: var(--ifm-z-index-fixed);
170171
height: 100vh;
171172
width: 100vw;
172173
position: fixed;

0 commit comments

Comments
 (0)