File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 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 {
16311631 display : none;
16321632 }
16331633
1634+ /* We do NOT hide this element so that alternative device readers still have this information
1635+ available. */
16341636 .sidebar-elems {
16351637 position : fixed;
16361638 z-index : 1 ;
1637- left : 0 ;
16381639 top : 45px ;
16391640 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 ;
16401644 overflow-y : auto;
16411645 border-right : 1px solid;
1642- display : none;
16431646 }
16441647
16451648 .sidebar > .block .version {
@@ -1727,8 +1730,7 @@ details.undocumented[open] > summary::before {
17271730 }
17281731
17291732 .show-it {
1730- display : block;
1731- width : 246px ;
1733+ left : 0 ;
17321734 }
17331735
17341736 .show-it > .block .items {
You can’t perform that action at this time.
0 commit comments