Skip to content

Commit

Permalink
Rollup merge of rust-lang#102066 - notriddle:notriddle/headers-max-wi…
Browse files Browse the repository at this point in the history
…dth, r=GuillaumeGomez

rustdoc: remove unnecessary `max-width` on headers

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
Dylan-DPC authored Sep 21, 2022
2 parents 864e33c + d355b0e commit cd26cf1
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 @@ -674,7 +674,6 @@ h2.location a {
}

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

Expand Down

0 comments on commit cd26cf1

Please sign in to comment.