mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(card): removed header height (#3450)
- long titles was overlapping content cause of the height that was applied on the header fixes #3288
This commit is contained in:
committed by
tinayuangao
parent
75b440aa09
commit
17bf5e5759
@@ -93,12 +93,9 @@ $mat-card-header-size: 40px !default;
|
||||
.mat-card-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: $mat-card-header-size;
|
||||
margin: -8px 0 16px 0;
|
||||
}
|
||||
|
||||
.mat-card-header-text {
|
||||
height: $mat-card-header-size;
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
@@ -106,6 +103,7 @@ $mat-card-header-size: 40px !default;
|
||||
height: $mat-card-header-size;
|
||||
width: $mat-card-header-size;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.mat-card-header .mat-card-title {
|
||||
|
||||
Reference in New Issue
Block a user