Skip to content

Commit 11cc157

Browse files
committed
fix(card): removed header height
- long titles was overlapping content cause of the height that was applied on the header fixes #3288
1 parent d78a370 commit 11cc157

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib/card/card.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,17 @@ $mat-card-header-size: 40px !default;
9393
.mat-card-header {
9494
display: flex;
9595
flex-direction: row;
96-
height: $mat-card-header-size;
97-
margin: -8px 0 16px 0;
9896
}
9997

10098
.mat-card-header-text {
101-
height: $mat-card-header-size;
10299
margin: 0 8px;
103100
}
104101

105102
.mat-card-avatar {
106103
height: $mat-card-header-size;
107104
width: $mat-card-header-size;
108105
border-radius: 50%;
106+
flex-shrink: 0;
109107
}
110108

111109
.mat-card-header .mat-card-title {

0 commit comments

Comments
 (0)