From 5160b5ae22ad52cb0e6a188e87332186a8015db9 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Wed, 5 Jun 2019 15:08:32 -0400 Subject: [PATCH] Make the cards images all the same size, and shrink to fit centered --- src/components/cards/card.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/cards/card.css b/src/components/cards/card.css index 5a160c455..265ca22d1 100644 --- a/src/components/cards/card.css +++ b/src/components/cards/card.css @@ -162,6 +162,7 @@ } .step-body { + width: 100%; background: $ui-white; display: flex; flex-direction: column; @@ -177,6 +178,8 @@ .step-image { max-width: 450px; + max-height: 200px; + object-fit: contain; background: #F9F9F9; border: 1px solid #ddd; border-radius: 0.5rem; -- GitLab