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

Correctly set cell padding for zero values #287

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

speedytwenty
Copy link
Collaborator

This addresses the issue reported in #124.

When setting cell options, it was taking the first truthy value and therefore any zero (0) values were being ignored.

@speedytwenty speedytwenty merged commit 26aa33d into cli-table:master Apr 1, 2022
@speedytwenty speedytwenty deleted the issue-124 branch April 1, 2022 20:56
@speedytwenty speedytwenty added the bug Something isn't working label Apr 5, 2022
@speedytwenty speedytwenty changed the title Fix: Correctly set cell padding for zero values Correctly set cell padding for zero values Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CellOptions padding does not override TableOptions padding when set to 0
1 participant