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

CamelCase Css properties get ignored in breakpoints. #330

Closed
motleydev opened this issue Oct 29, 2019 · 2 comments
Closed

CamelCase Css properties get ignored in breakpoints. #330

motleydev opened this issue Oct 29, 2019 · 2 comments

Comments

@motleydev
Copy link

This produces no padding.

<Grid.Box
  lg={{ width: '50%', paddingRight: '80px' }}
  md={{ width: '100%' }}
>

This works fine.

<Grid.Box
  lg={{ width: '50%', padding: '80px' }}
  md={{ width: '100%' }}
>
@AriTheElk
Copy link
Owner

Thanks for the report! The issue is that currently, the supported styled are hardcoded here

I'm going to go ahead and rewrite the generateStyles() function to allow more modularity with the styles. I'll update you here 👌

AriTheElk pushed a commit that referenced this issue Oct 29, 2019
@AriTheElk
Copy link
Owner

Just released v1.0.1, which has the fix for this in it. Let me know if you have any other issues 😸

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

2 participants