Skip to content

rustdoc: item-infos have different vertical size #98266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jsha opened this issue Jun 19, 2022 · 0 comments · Fixed by #99779
Closed

rustdoc: item-infos have different vertical size #98266

jsha opened this issue Jun 19, 2022 · 0 comments · Fixed by #99779
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jsha
Copy link
Contributor

jsha commented Jun 19, 2022

On pages that have an item-info for "experimental" and also a platform restriction (e.g. https://doc.rust-lang.org/nightly/std/arch/macro.is_arm_feature_detected.html), the two item-infos are different sizes:

image

The platform restriction should be the same height as the experimental item-info.

@jsha jsha added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels Jun 19, 2022
@bors bors closed this as completed in 9690852 Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant