patternfly / patternfly-org

Home of patternfly.org
https://www.patternfly.org
MIT License
69 stars 136 forks source link

fix(docs): updated scroll selector for jumplinks, router links #4197

Closed evwilkin closed 3 weeks ago

evwilkin commented 3 weeks ago

Closes https://github.com/patternfly/patternfly-org/issues/4085

Related to https://github.com/patternfly/patternfly-react/issues/10860 - scroll selector needed to be updated due to new wrapper component.

This PR updates the scrollable element passed to JumpLinks in the Table of Contents component, as well as references in the Link component (triggers scroll to top of page after link click), to .pf-v6-c-page__main-container, fixing:

patternfly-build commented 3 weeks ago

Preview: https://patternfly-org-pr-4197-site.surge.sh