We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug .px-{n}, .py-{n}, .mx-{n}, .my-{n} classes are not working as expected. Although .p-{n} .m-{n} classes work perfectly fine.
.px-{n}, .py-{n}, .mx-{n}, .my-{n}
.p-{n} .m-{n}
To Reproduce Code SandBox Link
The text was updated successfully, but these errors were encountered:
Thanks for raising this @ArjithN if you are interested please feel free to shoot a PR. This will help you get started https://github.com/product-ride/styled-wind/blob/master/src/services/css-gen/css-gen.ts#L339
Sorry, something went wrong.
Sure @ameerthehacker I'd love to take it up!
I tried to work on this, and it works when added an extra trailing semi-colon ";". Not sure why the existing one would get disregarded.
if (Array.isArray(directionStringorArray)) { return directionStringorArray.reduce((prev, direction) => { return `${prev} padding${direction}: ${themeValue};; `; }, ''); }
The above code generates correct CSS. Otherwise, the semi-colons are missing in-between two rules. Any idea why?
No branches or pull requests
Describe the bug
.px-{n}, .py-{n}, .mx-{n}, .my-{n}
classes are not working as expected. Although.p-{n} .m-{n}
classes work perfectly fine.To Reproduce
Code SandBox Link
Actual
Expected :
The text was updated successfully, but these errors were encountered: