Skip to content

Commit 75a86df

Browse files
epelcThomasBurleson
authored andcommitted
fix(card): Image selector should only select immediate children or images within md-card-header
Closes angular#8785 Closes angular#8786
1 parent 1fe3857 commit 75a86df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/card/card.scss

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

6262
> img,
63-
> :not(md-card-content) img {
63+
> md-card-header img {
6464
box-sizing: border-box;
6565
display: flex;
6666
flex: 0 0 auto;

0 commit comments

Comments
 (0)