Skip to content

Commit 38f0b6c

Browse files
hide sidebar when docsearch modal is active
1 parent bc56ec6 commit 38f0b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/doc/source/style/_doc/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ body {
3737
}
3838
}
3939

40-
&.doc-sidebar--is-visible {
40+
&.doc-sidebar--is-visible:not(.DocSearch--active) {
4141
@media screen and (max-width: $doc-breakpoint) {
4242
.doc-sidebar {
4343
transform: translateX(0);

0 commit comments

Comments
 (0)