Skip to content

Commit 872c025

Browse files
authored
Rollup merge of #46502 - GuillaumeGomez:improve-search-style, r=QuietMisdreavus
Improve search style Fixes #46494. r? @QuietMisdreavus
2 parents 17dd988 + 611d0e6 commit 872c025

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+10-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ nav.sub {
179179
top: 0;
180180
height: 100vh;
181181
overflow: auto;
182-
z-index: 1;
183182
}
184183

185184
.sidebar .current {
@@ -273,9 +272,19 @@ nav.sub {
273272
overflow: auto;
274273
padding-left: 0;
275274
}
275+
276276
#search {
277277
margin-left: 230px;
278+
position: relative;
279+
}
280+
281+
#results {
282+
position: absolute;
283+
right: 0;
284+
left: 0;
285+
overflow: auto;
278286
}
287+
279288
.content pre.line-numbers {
280289
float: left;
281290
border: none;

0 commit comments

Comments
 (0)