From 11cc157f6473ccac702856ce64f6d885ad5dfbae Mon Sep 17 00:00:00 2001 From: Elad Bezalel Date: Wed, 8 Mar 2017 23:36:56 +0200 Subject: [PATCH] fix(card): removed header height - long titles was overlapping content cause of the height that was applied on the header fixes #3288 --- src/lib/card/card.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/card/card.scss b/src/lib/card/card.scss index 56b3b4816025..86e08d58708b 100644 --- a/src/lib/card/card.scss +++ b/src/lib/card/card.scss @@ -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 {