Content block cards: Align to non-gutter grid line and use CSS grid #4959
Labels
dev
Needs some dev work
package: web components
Work necessary for the IBM.com Library web components package
priority: high
Milestone
The problem
<dds-content-block-cards>
assumes that it's used within a Carbon grid with gutter. However, there are several child contents, for example, card and link list, that should be aligned to non-gutter grid line.We don't have a cohesive way how to deal with that at this point, that have caused for example the following problems:
$carbon--spacing-05
(the padding of Carbon grid gutter).The solution
Make
<dds-content-block-cards>
not depend on a gutter (of Carbon grid) defined in its containing element. Also, use CSS grid for its internal layout to make the internal markup simpler.The text was updated successfully, but these errors were encountered: