Skip to content

Commit

Permalink
Rollup merge of #101748 - notriddle:notriddle/source-sidebar-sidebar-…
Browse files Browse the repository at this point in the history
…toggle, r=GuillaumeGomez

rustdoc: remove redundant CSS `#source-sidebar, #sidebar-toggle`

These two elements are always nested below `<nav class="sidebar">`, and will inherit the font from their parent.

These selectors were added in 93520d2, and became redundant in 07e3f99 when the source sidebar elements became nested below `nav.sidebar`.
  • Loading branch information
Dylan-DPC committed Sep 13, 2022
2 parents 95c9a7e + b4173b6 commit 1c74d50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ a.source,
.item-left > a,
.out-of-band,
span.since,
#source-sidebar, #sidebar-toggle,
details.rustdoc-toggle > summary::before,
.content ul.crate a.crate,
a.srclink,
Expand Down

0 comments on commit 1c74d50

Please sign in to comment.