Problem/Motivation
Port Feature Carousel as Card Grid
1.- Rename “Feature Carousel” paragraph type to “Card Grid”.
2.- Add logic to Feature Carousel template to show items in a grid based on how many items are there, with special cases for:
- 1 item: fullwidth
- 2 items: row of 2
- 3 items: row of 3
- 4 items: grid of 2 by 2
- 5 items: row of 3, row of 2 (in a 3-up grid)
- 6 items: grid of 3 by 3
3. Ensure empty title (i.e. spaces only) are properly stripped, but that subsequent rows are spaced properly, like this example page:
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork iu_paragraphs-3450262
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
jwilson3