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

Using $parent-selector variable doesn't fully restrict styles to specified selector. #533

Open
dev-willis opened this issue May 1, 2024 · 0 comments

Comments

@dev-willis
Copy link

Describe the issue

There seem to be styles that do not have the value of $parent-selector prepended to them. E.g., box-sizing: border-box; is being applied to everything rather than just those elements that are descendants of the parent selector.

Current Behavior

Some elements outside the parent selector are altered by PicoCSS styles.

Expected Behavior

All PicoCSS styles should be applied within the parent selector only.

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

No branches or pull requests

1 participant