Skip to content

Commit

Permalink
Rollup merge of rust-lang#102240 - notriddle:notriddle/main-line-numb…
Browse files Browse the repository at this point in the history
…ers, r=GuillaumeGomez

rustdoc: remove unused CSS `#main-content > .line-numbers`

This selector was added in 10b9370. It became unreachable when 09150f8 made it so that `.line-numbers` are always nested below `.example-wrap`, even on source pages.
  • Loading branch information
matthiaskrgr authored Sep 24, 2022
2 parents ea8e7fb + a0be6c4 commit 5a70396
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1917,10 +1917,6 @@ in storage.js plus the media query with (min-width: 701px)
border-bottom: 1px solid;
}

#main-content > .line-numbers {
margin-top: 0;
}

.notable-traits .notable-traits-tooltiptext {
left: 0;
top: 100%;
Expand Down

0 comments on commit 5a70396

Please sign in to comment.