rustdoc: Fix badge alignment#105509
Conversation
|
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
There was a problem hiding this comment.
Should this use "middle" or "baseline"? It seems like the latter would work better given that the fonts may be somewhat different.
There was a problem hiding this comment.
-
They're guaranteed to be different, because Fira Sans is used for the link, while Source Code Serif is used for the badge.
-
Not a fan of wildcard selectors. It's too tricky to figure out what they're actually supposed to target.
There was a problem hiding this comment.
There was a problem hiding this comment.
Well in short, I have a preference for the "middle" alignment but don't have a strong opinion about it so as is preferred.
@notriddle: I updated the selector to make it more specific.
|
☔ The latest upstream changes (presumably #105512) made this pull request unmergeable. Please resolve the merge conflicts. |
72db0fc to
a96ccbe
Compare
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
Hello @GuillaumeGomez! I just want to ping you as part of the triage procedure as this PR has merge conflicts and CI failures :) |
|
Seems like it needs to be discussed more so closing. |
… r=GuillaumeGomez rustdoc: align stability badge to baseline instead of bottom | desc | img | |------|-----| | before |  | | | | | after |  | Preview: http://notriddle.com/notriddle-rustdoc-demos/stab-baseline/test_dingus/index.html Based on comment from rust-lang#105509 (comment) r? ``@joshtriplett``
Rollup merge of rust-lang#105666 - notriddle:notriddle/stab-baseline, r=GuillaumeGomez rustdoc: align stability badge to baseline instead of bottom | desc | img | |------|-----| | before |  | | | | | after |  | Preview: http://notriddle.com/notriddle-rustdoc-demos/stab-baseline/test_dingus/index.html Based on comment from rust-lang#105509 (comment) r? ``@joshtriplett``
…umeGomez rustdoc: align stability badge to baseline instead of bottom | desc | img | |------|-----| | before |  | | | | | after |  | Preview: http://notriddle.com/notriddle-rustdoc-demos/stab-baseline/test_dingus/index.html Based on comment from rust-lang/rust#105509 (comment) r? ``@joshtriplett``


It fixes a bug discovered by @joshtriplett.
It'll conflict with #105504 so I'll just rebase once the conflict arises. :)
r? @notriddle