-
Notifications
You must be signed in to change notification settings - Fork 64
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
Conversation
@@ -53,7 +54,9 @@ class ReactCardFlip extends React.Component { | |||
}, | |||
flipper: { | |||
position: 'relative', | |||
transformStyle: 'preserve-3d' | |||
transformStyle: 'preserve-3d', | |||
width: '100%', |
There was a problem hiding this comment.
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%?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Thanks for adding this! Sorry for taking so long to get it merged. |
No description provided.