rustdoc: toolbar redesign no longer properly handles shortening of long crate names in search dropdown #130993
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Last time I contributed to the design of the crate selection, which was merged with the following PR
I made sure to test the handling of long crate names.
[CLICK TO EXPAND comparison screenshots with the old design]
Old Design:
What happens with a long crate name:
With the new design
the behavior seems a lot worse now:
[CLICK TO EXPAND comparison screenshots with the new design]
New Design:
What happens with a long crate name:
(Refer to the last screenshot above for the following description.)
In particular, I’m noticing that the button grows too large, shifts down a little but for some reason, and then pushes the Settings/Help/Summary control elements off-screen.
I don’t recall off the top of my head the specific HTML/CSS foo that used made this work in the first place, but possible it’s a relatively simple fix.
cc @GuillaumeGomez, @notriddle
The text was updated successfully, but these errors were encountered: