Skip to content

Commit

Permalink
feat(card-group/card-section-offset): v2 updates (#11043)
Browse files Browse the repository at this point in the history
* feat(styles): update card-group and video-player styles

---------

Co-authored-by: kennylam <[email protected]>
  • Loading branch information
IgnacioBecerra and kennylam authored Nov 14, 2023
1 parent fca0adc commit 45a8eb4
Show file tree
Hide file tree
Showing 19 changed files with 574 additions and 721 deletions.
9 changes: 9 additions & 0 deletions docs/dotcom-v2-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ For Carbon v11 migration guidance, see their
| callout-with-media | View [changes](#callout-with-media). |
| callout-quote | View [changes](#callout-quote). |
| card | View [changes](#card). |
| card-group | View changes [here](#card-group) |
| card-group-card-link-item | Deprecated in favor of [card](#card) or [content-item](#content-item). |
| card-in-card | No API changes. |
| card-link | Deprecated in favor of [card](#card) (link variant). |
Expand Down Expand Up @@ -96,6 +97,14 @@ For Carbon v11 migration guidance, see their
options
- New `link` property which takes the place of the deprecated `card-link`

### Card group

- Removed `outline` property
- New grid mode options: `Default` with a 32px gap, `Narrow` with a 16px gap, and `Condensed` with no gaps inbetween
- Grid mode options `Collapsed` has been replaced with `Condensed`
- Removed grid mode option `Border`
- Deprecated `card-link` option in Card group

### Content group banner

- `content-group-banner` renamed to `in-page-banner`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
height: 100%;
display: block;
outline: none;

.#{$c4d-prefix}--image__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
}

.#{$prefix}--background-media--mobile-position {
Expand Down
Loading

0 comments on commit 45a8eb4

Please sign in to comment.