Skip to content

Commit 31176a8

Browse files
Ismael Ramosiramos
authored andcommitted
fix(card): add responsive class to images
1 parent 98b45a5 commit 31176a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/shared/components/hero-card/hero-card.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ mat-card-title, mat-card-subtitle, .mat-card-image {
1818
@include push--auto();
1919
}
2020

21+
img {
22+
width: 100%;
23+
height: auto;
24+
}
25+
2126
@media (max-width: 680px) {
2227
.hero-card {
2328
width: 80%;

0 commit comments

Comments
 (0)