about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-02-07 22:36:51 -0800
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-02-09 23:34:10 -0800
commit0b22d4170eddc179680c0da4415fab721e02f85a (patch)
tree593b478ee2180447b9cbb91539c9495d6960a6e4 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent5d6ee0db96aada145725838379f909bbb8aa2312 (diff)
downloadrust-0b22d4170eddc179680c0da4415fab721e02f85a.tar.gz
rust-0b22d4170eddc179680c0da4415fab721e02f85a.zip
rustdoc: fix spacing of non-toggled impl blocks
We recently removed the "up here" arrows on item-infos, and adjusted
vertical spacing so that even without the arrow, it would be visually
clear which item the item-info belonged to. The new CSS styles for
vertical spacing only applied to toggles, though. This missed
non-toggled impl blocks - for instance, those without any methods, like
https://doc.rust-lang.org/nightly/std/marker/trait.Send.html#implementors.
The result was lists of implementors that were spaced too closely. This
PR fixes the spacing by making it apply to non-toggled impl blocks as
well.

This also fixes an issue where item-infos were displayed too far below
their items. That was a result of display: table on .item-info .stab.
Changed that to display: inline-block.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions