Skip to content

Commit

Permalink
fix(card): Add flex properties to fill height of parent
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Raider committed Feb 27, 2019
1 parent df0f5ed commit 3fc328d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ray/lib/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ $card-border-color: $gray35;
border-radius: $border-radius;
background-color: $white;
overflow: hidden;
height: 100%;
display: flex;
flex-direction: column;

&__content {
flex-grow: 1;
padding: $card-padding;
border: 1px solid $card-border-color;

Expand Down

0 comments on commit 3fc328d

Please sign in to comment.