From: Andrew Engelbrecht Date: Mon, 29 Jul 2019 20:05:34 +0000 (-0400) Subject: adjusted display of product thumbnail images X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=c51f46de5a4293640128e53c773b8dca90bb1fd0;hp=dbd9476ae5e8a4792e4a14063c5309c326577cee adjusted display of product thumbnail images --- diff --git a/css/style.css b/css/style.css index 7018a39..8f40689 100644 --- a/css/style.css +++ b/css/style.css @@ -120,12 +120,16 @@ a { transition: 0.3s; } } .ryf-list .field--type-image { - width: 100%; + width: 150px; height: 150px; background: #fff; border-radius: 10px; display: flex; - justify-content: center; + align-items: center; +} + +.ryf-list .field--name-field-image { + margin: 0 auto; } .ryf-list img {