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

add option to pass style to container #42

Merged
merged 5 commits into from
Apr 29, 2019

Conversation

adamszeptycki
Copy link
Contributor

No description provided.

@@ -53,7 +54,9 @@ class ReactCardFlip extends React.Component {
},
flipper: {
position: 'relative',
transformStyle: 'preserve-3d'
transformStyle: 'preserve-3d',
width: '100%',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason for setting width and height to 100%?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really need this too, would be good to have the option to apply additional styles as I need it taking 100% of my container

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason to set it to 100% was that I can have enclosing div take care of sizing.
Right now styling is a little bit of a hassle.

@AaronCCWong AaronCCWong merged commit b8fa4e8 into AaronCCWong:master Apr 29, 2019
@AaronCCWong
Copy link
Owner

Thanks for adding this! Sorry for taking so long to get it merged.

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.

3 participants