From 3fc328d2829954a5426b196b36299ea9b355ecb1 Mon Sep 17 00:00:00 2001 From: Adam Raider <adam.raider@wework.com> Date: Fri, 25 Jan 2019 11:04:08 -0500 Subject: [PATCH] fix(card): Add flex properties to fill height of parent --- packages/ray/lib/_card.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ray/lib/_card.scss b/packages/ray/lib/_card.scss index 4cf67cc9..d2e2849d 100644 --- a/packages/ray/lib/_card.scss +++ b/packages/ray/lib/_card.scss @@ -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;