Skip to content

Commit 458b132

Browse files
author
Yuki Okushi
authored
Rollup merge of rust-lang#104062 - notriddle:notriddle/sidebar-filler, r=GuillaumeGomez
rustdoc: remove unused CSS `#sidebar-filler` This hack was removed in 6a5f8b1, but the CSS was left in.
2 parents d6c41a2 + b34fdd3 commit 458b132

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-15
Original file line numberDiff line numberDiff line change
@@ -1804,21 +1804,6 @@ in storage.js
18041804
display: block;
18051805
}
18061806

1807-
/* Because of ios, we need to actually have a full height sidebar title so the
1808-
* actual sidebar can show up. But then we need to make it transparent so we don't
1809-
* hide content. The filler just allows to create the background for the sidebar
1810-
* title. But because of the absolute position, I had to lower the z-index.
1811-
*/
1812-
#sidebar-filler {
1813-
position: fixed;
1814-
left: 45px;
1815-
width: calc(100% - 45px);
1816-
top: 0;
1817-
height: 45px;
1818-
z-index: -1;
1819-
border-bottom: 1px solid;
1820-
}
1821-
18221807
#main-content > details.rustdoc-toggle > summary::before,
18231808
#main-content > div > details.rustdoc-toggle > summary::before {
18241809
left: -11px;

0 commit comments

Comments
 (0)