-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Implementation of a insideNonNestedAtRule variable #2142
Conversation
Implementation of a insideAtApply variable to determine if it is a Tailwind ruleset and avoid whitespace after variant [ currently thinking it is a property ]
I previously focused only on an implementation to make I figured out it could maybe be a generic functionality for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Please add some tests showing the fixed functionality!
@bitwiseman I added some commits to improve my proposition. I added the tests, launched
What do I need to do to make this work correctly for you ? |
@itemshopp
What I get currently is:
That is without this PR. Are the spaces after the commas acceptable? If so, we can close #2012 without taking this PR. |
@bitwiseman Hi ! I did what you asked : Chose before
Clicked on after :
It works ! I suppose this was probably already corrected in a previous merge ? If so, I'm sorry about my PR suggestion. |
Thanks for the PR! There are probably still other issues with tailwind beautification, so I'll leave the original issue open for now. |
Description
main
)Fixes Issue:
Implementation of a insideAtApply variable to determine if it is a Tailwind ruleset and avoid whitespace after variant [ currently thinking it is a property ]
It fixes issue #2012 :
Before :
After :
Before Merge Checklist
These items can be completed after PR is created.
(Check any items that are not applicable (NA) for this PR)