From: Andrew Engelbrecht Date: Mon, 29 Jul 2019 17:00:48 +0000 (-0400) Subject: make imgs appear less warped on product listsings X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=de63e94381ae62f9f4515f8ee8bfd7bb7abbd02e make imgs appear less warped on product listsings further edits may be required for images that are taller than they are wide --- diff --git a/css/style.css b/css/style.css index 5dbe19d..43d3976 100644 --- a/css/style.css +++ b/css/style.css @@ -121,6 +121,7 @@ a { transition: 0.3s; } .ryf-list .field--type-image { width: 100%; + height: 150px; background: #fff; border-radius: 10px; display: flex; @@ -129,7 +130,6 @@ a { transition: 0.3s; } .ryf-list img { max-width: 150px; - min-height: 150px; overflow: hidden; }