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 axes paddings for different orientation options #1605

Conversation

glvnsky
Copy link
Contributor

@glvnsky glvnsky commented Jun 9, 2020

Found bug with paddings when axis "orientation" prop is set.
image
The trick is to take padding for axis depend on "orientation" prop if it is set. Also add story for reproduction and check.

@glvnsky
Copy link
Contributor Author

glvnsky commented Jun 9, 2020

@boygirl please, take a look.

@boygirl
Copy link
Contributor

boygirl commented Jun 9, 2020

@glvnsky thank you for this fix. These changes look correct to me. Mind running nps format and commiting the results?

@glvnsky
Copy link
Contributor Author

glvnsky commented Jun 9, 2020

@boygirl updated pull request. Sorry that I missed it. Thank you very much for quick response and awesome library too :)

@boygirl
Copy link
Contributor

boygirl commented Jun 9, 2020

Thank you! I'll get a patch released for you this afternoon

@boygirl boygirl merged commit 71bbc36 into FormidableLabs:master Jun 9, 2020
@glvnsky
Copy link
Contributor Author

glvnsky commented Jun 9, 2020

Thanks! I'll do my best in future contributions!

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.

2 participants