File tree 1 file changed +6
-4
lines changed
src/librustdoc/html/static/css
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1631,15 +1631,18 @@ details.undocumented[open] > summary::before {
1631
1631
display : none;
1632
1632
}
1633
1633
1634
+ /* We do NOT hide this element so that alternative device readers still have this information
1635
+ available. */
1634
1636
.sidebar-elems {
1635
1637
position : fixed;
1636
1638
z-index : 1 ;
1637
- left : 0 ;
1638
1639
top : 45px ;
1639
1640
bottom : 0 ;
1641
+ width : 246px ;
1642
+ /* We move the sidebar to the left by its own width so it doesn't appear. */
1643
+ left : -246px ;
1640
1644
overflow-y : auto;
1641
1645
border-right : 1px solid;
1642
- display : none;
1643
1646
}
1644
1647
1645
1648
.sidebar > .block .version {
@@ -1727,8 +1730,7 @@ details.undocumented[open] > summary::before {
1727
1730
}
1728
1731
1729
1732
.show-it {
1730
- display : block;
1731
- width : 246px ;
1733
+ left : 0 ;
1732
1734
}
1733
1735
1734
1736
.show-it > .block .items {
You can’t perform that action at this time.
0 commit comments