File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ pub fn render<T: Print, S: Print>(
62
62
#crate-search{{background-image:url(\" {static_root_path}down-arrow{suffix}.svg\" );}}\
63
63
</style>\
64
64
</head>\
65
- <body class =\" rustdoc {css_class}\" >\
65
+ <body id =\" rustdoc\" class= \" {css_class}\" >\
66
66
<!--[if lte IE 8]>\
67
67
<div class=\" warning\" >\
68
68
This old browser is unsupported and will most likely display funky \
Original file line number Diff line number Diff line change @@ -1223,6 +1223,7 @@ fn init_id_map() -> FxHashMap<String, usize> {
1223
1223
map. insert ( "theme-choices" . to_owned ( ) , 1 ) ;
1224
1224
map. insert ( "settings-menu" . to_owned ( ) , 1 ) ;
1225
1225
map. insert ( "main" . to_owned ( ) , 1 ) ;
1226
+ map. insert ( "rustdoc" . to_owned ( ) , 1 ) ;
1226
1227
map. insert ( "search" . to_owned ( ) , 1 ) ;
1227
1228
map. insert ( "crate-search" . to_owned ( ) , 1 ) ;
1228
1229
map. insert ( "render-detail" . to_owned ( ) , 1 ) ;
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ nav.sub {
330
330
padding-left : 0 ;
331
331
}
332
332
333
- . rustdoc : not (.source ) .example-wrap {
333
+ # rustdoc : not (.source ) .example-wrap {
334
334
display : inline-flex;
335
335
margin-bottom : 10px ;
336
336
position : relative;
@@ -349,12 +349,12 @@ nav.sub {
349
349
text-align : right;
350
350
}
351
351
352
- . rustdoc : not (.source ) .example-wrap > pre .rust {
352
+ # rustdoc : not (.source ) .example-wrap > pre .rust {
353
353
width : 100% ;
354
354
overflow-x : auto;
355
355
}
356
356
357
- . rustdoc : not (.source ) .example-wrap > pre {
357
+ # rustdoc : not (.source ) .example-wrap > pre {
358
358
margin : 0 ;
359
359
}
360
360
@@ -1320,7 +1320,7 @@ h4 > .notable-traits {
1320
1320
padding-top : 0px ;
1321
1321
}
1322
1322
1323
- . rustdoc > .sidebar {
1323
+ # rustdoc > .sidebar {
1324
1324
height : 45px ;
1325
1325
min-height : 40px ;
1326
1326
margin : 0 ;
@@ -1373,7 +1373,7 @@ h4 > .notable-traits {
1373
1373
height : 45px ;
1374
1374
}
1375
1375
1376
- . rustdoc .source > .sidebar > .sidebar-menu {
1376
+ # rustdoc .source > .sidebar > .sidebar-menu {
1377
1377
display : none;
1378
1378
}
1379
1379
You can’t perform that action at this time.
0 commit comments