Skip to content

Commit

Permalink
rustdoc: remove unused CSS #main-content > .line-numbers
Browse files Browse the repository at this point in the history
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
notriddle committed Sep 24, 2022
1 parent 6580010 commit a0be6c4
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 a0be6c4

Please sign in to comment.