fix(nav): update html examples to display indicator correctly. - #8557
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. WalkthroughThe navigation example CSS adds medium inline padding to preview containers, changes the horizontal preview background token, and removes conditional inline-start margin. ChangesNavigation preview styling
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized styling change adjusts navigation example spacing so the current-page indicator displays correctly; no actionable merge-blocking risk remains. Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
src/patternfly/components/Nav/examples/Navigation.cssParsing error: Private names are only allowed in property accesses ( Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview: https://pf-pr-8557.surge.sh A11y report: https://pf-pr-8557-a11y.surge.sh |
|
🎉 This PR is included in version 6.6.0-prerelease.36 🎉 The release is available on: Your semantic-release bot 📦🚀 |


Fixes: #8489
Adds a margin to docked nav and other nav HTML examples so the current-page indicator isn’t clipped. Applies margin-inline-start on the preview container, and skips expanded, horizontal, and drilldown variants that don’t need it.
Summary by CodeRabbit