diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-03 08:00:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 08:00:47 +0200 |
| commit | c3053309c51b01bc51944f044a61f43de86d9fd8 (patch) | |
| tree | 24cf1adecc6b7e1bdf9a9fe14143b1d1aed1f062 /compiler/rustc_codegen_llvm/src | |
| parent | 607b8296e07cc1bf5b95eeb60a21b5af684f7631 (diff) | |
| parent | d46e558a93a281a9e41a35cb181a375df388f60c (diff) | |
| download | rust-c3053309c51b01bc51944f044a61f43de86d9fd8.tar.gz rust-c3053309c51b01bc51944f044a61f43de86d9fd8.zip | |
Rollup merge of #102550 - notriddle:notriddle/impl, r=GuillaumeGomez
rustdoc: remove no-op CSS on `.impl, .method` etc
Preview: http://notriddle.com/notriddle-rustdoc-demos/impl/index.html
# `flex-basis: 100%`
When `.impl-items { flex-basis: 100% }` and `h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant` were added in https://github.com/rust-lang/rust/commit/34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9, it seems like it was a mistake even then. According to MDN, [flex-basis] does nothing unless the box it's applied to is a flex *item*, a child of a flex container. However, when this was added, these elements were flex containers themselves.
[flex-basis]: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
# `position: relative`
This property was added to help with positioning the `[+]/[-]` toggle. It is no longer necessary, because `details.rustdoc-toggle` already has `position:relative` set on it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
