Rollup merge of #102066 - notriddle:notriddle/headers-max-width, r=GuillaumeGomez
rustdoc: remove unnecessary `max-width` on headers This code was added in003b2bc1c6
to prevent these headers from overlapping `.out-of-band` side items. That stopped being a problem when3f92ff34b5
switched rustdoc over to using `float`, rather than `position: absolute`, to implement this.
This commit is contained in:
commit
f4c492cb5d
@ -674,7 +674,6 @@ h2.location a {
|
||||
}
|
||||
|
||||
.method > .code-header, .trait-impl > .code-header {
|
||||
max-width: calc(100% - 41px);
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ assert-position: (
|
||||
)
|
||||
|
||||
// Checking on very small mobile. The `i` should be on its own line.
|
||||
size: (410, 600)
|
||||
size: (365, 600)
|
||||
compare-elements-position-false: (
|
||||
"//*[@id='method.create_an_iterator_from_read']//a[text()='NotableStructWithLongName']",
|
||||
"//*[@id='method.create_an_iterator_from_read']//*[@class='notable-traits']",
|
||||
|
Loading…
Reference in New Issue
Block a user