From 8ccb49b64e2da59c642db563a277eb24d5bb4ea3 Mon Sep 17 00:00:00 2001 From: Darko Tomic Date: Thu, 26 Mar 2020 15:46:13 +0100 Subject: [PATCH] Wire item image aspect ratio fix (#1024) --- assets/styles/index.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/styles/index.scss b/assets/styles/index.scss index d713c3369..2dbac74cd 100644 --- a/assets/styles/index.scss +++ b/assets/styles/index.scss @@ -1614,9 +1614,11 @@ article.list { } img { max-width: none; + max-height: none; width: 100%; @include xl { max-width: 160px; + max-height: 140px; width: auto; } } @@ -2047,11 +2049,16 @@ article.list { } img { max-width: none; + max-height: none; + height: auto; width: 100%; @include md { max-width: 160px; width: auto; } + @include lg { + max-height: 140px; + } } } @include md {