Skip to content

Commit

Permalink
hide sidebar when docsearch modal is active
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlauvlwj committed Oct 2, 2024
1 parent bc56ec6 commit 38f0b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/doc/source/style/_doc/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ body {
}
}

&.doc-sidebar--is-visible {
&.doc-sidebar--is-visible:not(.DocSearch--active) {
@media screen and (max-width: $doc-breakpoint) {
.doc-sidebar {
transform: translateX(0);
Expand Down

0 comments on commit 38f0b6c

Please sign in to comment.