From 00e72ccd7b8abe160f652b153100d0e924ab856c Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 31 Jul 2019 16:49:15 -0400 Subject: [PATCH 1/1] adjusted product teaser image size / margin adjustment in case image is taller than it is wide, also adding a margin --- css/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index b5ffa34..f726dc4 100644 --- a/css/style.css +++ b/css/style.css @@ -144,11 +144,13 @@ a { transition: 0.3s; } } .ryf-list .field--name-field-image { - margin: 0 auto; + margin: 0 auto 10px auto; } .ryf-list img { max-width: 150px; + max-height: 150px; + object-fit: contain; overflow: hidden; } -- 2.25.1