mirror of https://github.com/rust-lang/rust.git
rustdoc: remove no-op CSS `#crate-search-div { display: inline-block }`
`#crate-search-div` is nested directly below `.search-results-title`, which has `display: inline-flex`. This makes the crate-search-div a [flex item], which makes its display property irrelevant, because flex items have their display [blockified] in any case. [flex item]: https://developer.mozilla.org/en-US/docs/Glossary/Flex_Item [blockified]: https://www.w3.org/TR/css-flexbox-1/#flex-items
This commit is contained in:
parent
a00f8ba7fc
commit
7854883b44
|
@ -803,7 +803,6 @@ table,
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
#crate-search-div {
|
#crate-search-div {
|
||||||
display: inline-block;
|
|
||||||
/* ensures that 100% in properties of #crate-search-div:after
|
/* ensures that 100% in properties of #crate-search-div:after
|
||||||
are relative to the size of this div */
|
are relative to the size of this div */
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue