File tree 1 file changed +6
-4
lines changed
src/librustdoc/html/static
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1577,15 +1577,18 @@ details.undocumented[open] > summary::before {
1577
1577
display : none;
1578
1578
}
1579
1579
1580
+ /* We do NOT hide this element so that alternative device readers still have this information
1581
+ available. */
1580
1582
.sidebar-elems {
1581
1583
position : fixed;
1582
1584
z-index : 1 ;
1583
- left : 0 ;
1584
1585
top : 45px ;
1585
1586
bottom : 0 ;
1587
+ width : 246px ;
1588
+ /* We move the sidebar to the left by its own width so it doesn't appear. */
1589
+ left : -246px ;
1586
1590
overflow-y : auto;
1587
1591
border-right : 1px solid;
1588
- display : none;
1589
1592
}
1590
1593
1591
1594
.sidebar > .block .version {
@@ -1662,8 +1665,7 @@ details.undocumented[open] > summary::before {
1662
1665
}
1663
1666
1664
1667
.show-it {
1665
- display : block;
1666
- width : 246px ;
1668
+ left : 0 ;
1667
1669
}
1668
1670
1669
1671
.show-it > .block .items {
You can’t perform that action at this time.
0 commit comments