Skip to content

Commit

Permalink
Rollup merge of #104062 - notriddle:notriddle/sidebar-filler, r=Guill…
Browse files Browse the repository at this point in the history
…aumeGomez

rustdoc: remove unused CSS `#sidebar-filler`

This hack was removed in 6a5f8b1, but the CSS was left in.
  • Loading branch information
Yuki Okushi authored Nov 7, 2022
2 parents d6c41a2 + b34fdd3 commit 458b132
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1804,21 +1804,6 @@ in storage.js
display: block;
}

/* Because of ios, we need to actually have a full height sidebar title so the
* actual sidebar can show up. But then we need to make it transparent so we don't
* hide content. The filler just allows to create the background for the sidebar
* title. But because of the absolute position, I had to lower the z-index.
*/
#sidebar-filler {
position: fixed;
left: 45px;
width: calc(100% - 45px);
top: 0;
height: 45px;
z-index: -1;
border-bottom: 1px solid;
}

#main-content > details.rustdoc-toggle > summary::before,
#main-content > div > details.rustdoc-toggle > summary::before {
left: -11px;
Expand Down

0 comments on commit 458b132

Please sign in to comment.