-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Missing style definitions when using polished like mixin functions #217
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
emotion
version: 7.0.4react
version: 15.6.1What you did:
Created a mixin called
responsiveGutter()
, whose goal is to do the following:At the various breakpoints in my application, setting different left/right paddings:
What happened:
Now in my component...
If I log the template literal I am passing into css, I get the following (see below), however, the media queries that contain the padding declarations are never applied to the element.
Problem description:
Styles declared in helper functions are not being applied to class.
The text was updated successfully, but these errors were encountered: