refactor: use baseline alignment for breadcrumbs items#11884
Merged
Conversation
3052dd8 to
6dbbe49
Compare
1f93e23 to
8185013
Compare
e588e2e to
a5a88f8
Compare
jouni
approved these changes
Jun 8, 2026
When an item's text wraps onto multiple lines, baseline alignment keeps prefix icons and adjacent items on the first line rather than the box center. Icon pseudo-elements are sized to 1lh so they fill the line height; chevron separators mask their icon at 90% of the box. Opacity 0.75 on separators and 0.8 on the overflow icon keep both subordinate to the text.
With baseline alignment and 1lh-sized icons, items take a few extra pixels of inline space at the same content. The visual overflow fixtures are widened so the same set of items (Documents + Projects) still collapses into the overlay while Home stays in the trail.
a5a88f8 to
fe90d46
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Extracted from #11868
[part='list'], items and link/nolink wrappers toalign-items: baselineso prefix icons and adjacent items stay on the first line when text wraps1lh; chevrons mask at 90% of the box and carryopacity: 0.75, the overflow icon carriesopacity: 0.8max-width: 160pxso the trail still collapses Docs into the overlay with the slightly-wider itemsPart of #7960