Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit d086e2b

Browse files
clshortfusehansl
authored andcommitted
fix(card): limit img size when using md-card-title-media (#9446)
Use flexbox for img elements when child of md-card-title-media Fixes #9355
1 parent 00a4c05 commit d086e2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/card/card.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ md-card {
6060
}
6161

6262
> img,
63-
> md-card-header img {
63+
> md-card-header img,
64+
md-card-title-media img {
6465
box-sizing: border-box;
6566
display: flex;
6667
flex: 0 0 auto;

0 commit comments

Comments
 (0)