Skip to content

Commit

Permalink
Rollup merge of #102240 - notriddle:notriddle/main-line-numbers, r=Gu…
Browse files Browse the repository at this point in the history
…illaumeGomez

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 25, 2022
2 parents 094f09e + a0be6c4 commit d870b93
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 d870b93

Please sign in to comment.