Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix layout sticky pane modifier name #2087

Merged
merged 4 commits into from
May 20, 2022
Merged

Fix layout sticky pane modifier name #2087

merged 4 commits into from
May 20, 2022

Conversation

vdepizzol
Copy link
Contributor

What are you trying to accomplish?

This PR fixes the name of the sticky pane modifier from an incorrect "isPaneSticky" format in the top-level element, into a specific --sticky modifier, to match with Primer's BEM-style naming and structure.

This modifier class will be consumed by SplitPageLayout directly, as a style base for sticky pane regions. This issue being being internally tracked at https://github.com/github/primer/issues/1013 (only available for hubbers)

Can these changes ship as is?

It doesn't look like any page relies on this class. An internal search (only available for hubbers) doesn't show any results.

  • Yes, this PR does not depend on additional changes. 🚢

@vdepizzol vdepizzol requested a review from a team as a code owner May 20, 2022 17:51
@vdepizzol vdepizzol requested a review from jonrohan May 20, 2022 17:51
@changeset-bot
Copy link

changeset-bot bot commented May 20, 2022

🦋 Changeset detected

Latest commit: 9779fac

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Minor

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

@vdepizzol vdepizzol temporarily deployed to github-pages May 20, 2022 17:59 Inactive
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this minor because it's an experimental component and we haven't implemented any sticky behavior in dotcom yet.

@jonrohan jonrohan enabled auto-merge (squash) May 20, 2022 18:04
@jonrohan jonrohan merged commit 8354de5 into main May 20, 2022
@jonrohan jonrohan deleted the pageLayout-sticky-fix branch May 20, 2022 18:06
@primer-css primer-css mentioned this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants