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 css override #68

Merged
merged 4 commits into from
Jul 15, 2019
Merged

Fix css override #68

merged 4 commits into from
Jul 15, 2019

Conversation

davidhu2000
Copy link
Owner

This to fix #61

The issue was that the line below did not do override properly

return this.props.css ? css`${wrapper};${this.props.css}` : wrapper;

This is fixed by updated the wrapper css passed to the parent div. It can accept an array and this generates the override correctly.

@davidhu2000 davidhu2000 merged commit 3014aaa into master Jul 15, 2019
@davidhu2000 davidhu2000 deleted the fix-css-override branch July 15, 2019 04:39
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.

css prop does not override if provided without enclosing { }
1 participant