Rollup merge of #99779 - GuillaumeGomez:fix-item-info-pos-and-height, r=notriddle
Fix item info pos and height
Fixes https://github.com/rust-lang/rust/issues/98266.
Fixes https://github.com/rust-lang/rust/issues/98343.
You can test it [here](https://rustdoc.crud.net/imperio/fix-item-info-pos-and-height/lib2/trait.Trait.html).
Here is a screenshot of the result:
![Screenshot from 2022-07-26 21-55-53](https://user-images.githubusercontent.com/
3050060/
181100624-
18b8b045-5c25-4c7c-9c44-
97d55d29b675.png)
r? `@jsha`