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

Handle auto value through the rowHeight prop on the CardLayout component #700

Merged
merged 2 commits into from
Jan 7, 2020

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Jan 6, 2020

  • Adds the ability to set "auto" on the rowHeight prop, handling the CSS properly instead of setting auto values in a hacky way for the card.

Closes #635 , discussion here.

@auto-assign auto-assign bot requested a review from bpierre January 6, 2020 15:25
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

I left two comments, one more important than the other 😄

Let me know what you think!

- Validate strings only for 'auto', or set a failed prop warning otherwise.

Co-Authored-By: Pierre Bertet <hello@pierre.world>
Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

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

🔥

@Evalir Evalir merged commit 2f62c1e into master Jan 7, 2020
@Evalir Evalir deleted the card-auto-height branch January 7, 2020 02:36
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.

CardLayout: auto height
2 participants