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

Improve use of Semantic's cards in frontend #9487

Merged
merged 1 commit into from Jun 15, 2018
Merged

Improve use of Semantic's cards in frontend #9487

merged 1 commit into from Jun 15, 2018

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Jun 12, 2018

Q A
Branch? 1.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets N/A
License MIT

This is a small improvement to how Semantic UI's cards are rendered with the ShopBundle's default layouts. Right now they're used within .ui.grid containers, but a .ui.cards container can also be used as a grid and handles rendering a little better overall (especially with ensuring the cards are equal heights, see below screenshots).

Current demo homepage:
screen shot 2018-06-12 at 9 22 51 am

Homepage with patch:
screen shot 2018-06-12 at 9 23 29 am

@Zales0123 Zales0123 added the Shop ShopBundle related issues and PRs. label Jun 12, 2018
Copy link
Member

@lchrusciel lchrusciel left a comment

Choose a reason for hiding this comment

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

Seems nice, but we need to adjust tests as well

@mbabker
Copy link
Contributor Author

mbabker commented Jun 14, 2018

Tests are sorted.

@lchrusciel lchrusciel merged commit 08f529a into Sylius:1.1 Jun 15, 2018
@lchrusciel
Copy link
Member

Thanks Michael!

@mbabker mbabker deleted the card-markup-more-efficiently branch June 15, 2018 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants