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

Make sure to apply backdrops only to one Overlay #2249

Merged
merged 5 commits into from
Sep 15, 2022

Conversation

koddsson
Copy link
Contributor

What are you trying to accomplish?

I want to make sure backdrop styles are only applied to the correct Overlay. Right now, nested Overlays will inherit their parent overlay styles which makes it impossible to style them correctly.

What approach did you choose and why?

I made sure to use the direct child selector to select the Overlay that a given backdrop should apply to.

What should reviewers focus on?

Is this correct? I just did this quickly and without testing in the GitHub editor.

Can these changes ship as is?

  • This PR does not depend on additional changes. 🚢

@koddsson koddsson requested a review from a team as a code owner September 12, 2022 13:25
@koddsson koddsson requested a review from langermank September 12, 2022 13:25
@changeset-bot
Copy link

changeset-bot bot commented Sep 12, 2022

🦋 Changeset detected

Latest commit: da69a14

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 Patch

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

Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

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

Tested this locally, looks good! We can merge even though the deploy is failing (this is a fork)

@josepmartins
Copy link
Contributor

LGTM!

@josepmartins josepmartins merged commit 8108377 into primer:main Sep 15, 2022
@primer-css primer-css mentioned this pull request Sep 15, 2022
@koddsson koddsson deleted the patch-1 branch September 19, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants