Skip to content

Commit cd26cf1

Browse files
authored
Rollup merge of #102066 - notriddle:notriddle/headers-max-width, 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.
2 parents 864e33c + d355b0e commit cd26cf1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ h2.location a {
674674
}
675675

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

0 commit comments

Comments
 (0)