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 unwanted stacking behavior on any non-darkModeVariant "dark" variant #2380

Merged
merged 2 commits into from
Sep 14, 2020
Merged

Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant #2380

merged 2 commits into from
Sep 14, 2020

Conversation

JNavith
Copy link
Contributor

@JNavith JNavith commented Sep 14, 2020

This will solve #2378

🙏 Thanks!

@adamwathan adamwathan changed the base branch from master to override-variant-stacking September 14, 2020 12:37
@adamwathan adamwathan merged commit 48c5b9d into tailwindlabs:override-variant-stacking Sep 14, 2020
@adamwathan
Copy link
Member

Thanks! I have a couple tweaks I want to make to how we solve this but merged this and will make the tweaks then merge to master soon.

adamwathan added a commit that referenced this pull request Sep 14, 2020
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380)

* Add failing tests for non-darkModeVariant "dark" variant stacking behavior

* Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass)

* Add unstable_stack option for variants to tell Tailwind they should stack

* Update eslint to allow unstable_ variables

* Update changelog

Co-authored-by: Navith <[email protected]>
adamwathan added a commit that referenced this pull request Sep 28, 2020
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380)

* Add failing tests for non-darkModeVariant "dark" variant stacking behavior

* Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass)

* Add unstable_stack option for variants to tell Tailwind they should stack

* Update eslint to allow unstable_ variables

* Update changelog

Co-authored-by: Navith <[email protected]>
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.

2 participants