Skip to content

Commit

Permalink
Rollup merge of rust-lang#104466 - notriddle:notriddle/crate-search-d…
Browse files Browse the repository at this point in the history
…iv-display, r=GuillaumeGomez

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
  • Loading branch information
matthiaskrgr authored Nov 16, 2022
2 parents 7e5e5f7 + eff09e7 commit 8581446
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8581446

Please sign in to comment.