Breadcrumbs: Only show the previous breadcrumb on narrow viewports#7735
Breadcrumbs: Only show the previous breadcrumb on narrow viewports#7735liuliu-dev wants to merge 4 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: fb2e5e1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/18167 |
Closes https://github.com/github/primer/issues/6371
Changelog
New
On narrow viewports (≤544px), breadcrumbs collapse to show only the previous (parent) item as a back link. The current page is hidden since you're already on it. Consumers can pass
narrowVisibleItemsto control how many items stay visible.Rollout strategy
Testing & Reviewing
Merge checklist