Skip to content

Commit

Permalink
Tci 1129 add images to card (#860)
Browse files Browse the repository at this point in the history
* Added media css for cta variant

* TCI-1129 Changed css for media top

* TCI-1129--Media top css fix

* TCI-1129 change in media top title color

* TCI-1129--Added css to media top card title

* TCI-1129 Css added for media left

* TCI-1129 Changes into card.css for media left in card

* Image size is fixed for Image in card

---------

Co-authored-by: Reshma Dhane <[email protected]>
  • Loading branch information
reshmai and Reshma Dhane authored Dec 7, 2023
1 parent 7d30017 commit e957db0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/_patterns/02-molecules/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);
aspect-ratio: 16/9;
overflow: hidden;
border-radius: initial;
img{
object-fit: fill;
}
}
}

Expand Down

0 comments on commit e957db0

Please sign in to comment.