Skip to content

Commit

Permalink
fix(cta-card): video heading style fix (#10804)
Browse files Browse the repository at this point in the history
* fix(cta-card) video heading update

* fix(cta-card) video heading color fix

---------

Co-authored-by: Sangeetha Babu <[email protected]>
Co-authored-by: Sangeetha Babu <[email protected]>
Co-authored-by: Anna Wen <[email protected]>
  • Loading branch information
4 people authored Aug 21, 2023
1 parent 4e2b940 commit f2ea944
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/styles/scss/components/link-list/_link-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
.#{$prefix}--card__video {
[slot='heading'],
.#{$prefix}--card__heading {
color: $link-01;
margin-bottom: 0;

@include carbon--type-style('body-short-02');
Expand All @@ -104,6 +103,12 @@
}
}
}
:host(#{$dds-prefix}-link-list-item-card-cta)[cta-type='video'] {
[slot='heading'],
.#{$prefix}--card__heading {
color: $link-01;
}
}

.#{$prefix}--link-list__heading,
:host(#{$dds-prefix}-link-list-heading) {
Expand Down

0 comments on commit f2ea944

Please sign in to comment.