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

[CardActions] Fix CSS override #11092

Merged
merged 1 commit into from Apr 21, 2018

Conversation

oliviertassinari
Copy link
Member

This is definitely not the most reliable fix to the problem. The alternative is to introduce an intermediary component to apply the style. It would also save an unpredictable usage of cloneElement. The only advantage of the current approach is to save one DOM node. In the future, if this approach is problematic, we can always fallback to the extra div solution. Let's see how that goes.

Closes #11056

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: card This is the name of the generic UI component, not the React module! labels Apr 21, 2018
@oliviertassinari oliviertassinari merged commit 643460a into mui:v1-beta Apr 21, 2018
@oliviertassinari oliviertassinari deleted the fix-css-override branch April 21, 2018 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: card This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant