Skip to content

Commit 0dd8fe3

Browse files
fix docsearch modal
1 parent 38f0b6c commit 0dd8fe3

File tree

2 files changed

+15
-18
lines changed

2 files changed

+15
-18
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,11 @@ body {
3737
}
3838
}
3939

40-
&.doc-sidebar--is-visible:not(.DocSearch--active) {
40+
&.doc-sidebar--is-visible {
4141
@media screen and (max-width: $doc-breakpoint) {
4242
.doc-sidebar {
4343
transform: translateX(0);
44-
}
45-
46-
.doc-content {
47-
transform: translateX($doc-sidebar-width);
44+
z-index: 9;
4845
}
4946
}
5047
}

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,21 +173,21 @@
173173
border-color: #26aafe;
174174
box-shadow: none;
175175
}
176-
}
177176

178-
.DocSearch-Search-Icon {
179-
margin: 0 4px;
180-
width: 16px;
181-
height: 16px;
182-
color: #9b9b9b;
183-
}
177+
.DocSearch-Search-Icon {
178+
margin: 0 4px;
179+
width: 16px;
180+
height: 16px;
181+
color: #9b9b9b;
182+
}
184183

185-
.DocSearch-Button-Placeholder {
186-
display: initial !important;
187-
}
188-
189-
.DocSearch-Button-Keys {
190-
display: none;
184+
.DocSearch-Button-Placeholder {
185+
display: initial !important;
186+
}
187+
188+
.DocSearch-Button-Keys {
189+
display: none;
190+
}
191191
}
192192
}
193193
}

0 commit comments

Comments
 (0)