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 an empty card type #35

Merged
merged 3 commits into from
Jul 31, 2023
Merged

Add an empty card type #35

merged 3 commits into from
Jul 31, 2023

Conversation

waisingyiu
Copy link
Contributor

What does this change?

We see that on a carousel row with 2 cards in each column, if we have an odd number of cards resulting in a single card only in the last column, this card is stretched to fit the whole column. What we expect is to keep all the cards the same size and just leave the empty space there.

One solution we are going to implement is to indicate in the blueprint response that there is empty space where a card would be.

The PR is to add to the schema a new card type EMPTY_CARD_TYPE so that we are able to indicate where to leave the space (the same size as a card) empty in the layout.

@waisingyiu waisingyiu merged commit 9c5e82b into main Jul 31, 2023
2 checks passed
@waisingyiu waisingyiu deleted the LIVE-5387-add-empty-card-type branch July 31, 2023 09:27
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