Skip to content

Commit

Permalink
rustdoc: remove unnecessary max-width on headers
Browse files Browse the repository at this point in the history
This code was added in 003b2bc to prevent
these headers from overlapping `.out-of-band` side items. That stopped
being a problem when 3f92ff3 switched
rustdoc over to using `float`, rather than `position: absolute`, to
implement this.
  • Loading branch information
notriddle committed Sep 20, 2022
1 parent a37499a commit d355b0e
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 @@ -684,7 +684,6 @@ h2.location a {
}

.method > .code-header, .trait-impl > .code-header {
max-width: calc(100% - 41px);
display: block;
}

Expand Down

0 comments on commit d355b0e

Please sign in to comment.