adjusted display of product thumbnail images
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 29 Jul 2019 20:05:34 +0000 (16:05 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Mon, 29 Jul 2019 20:05:34 +0000 (16:05 -0400)
css/style.css

index 7018a398468d9d5b876c2c9fbec5c0fe35009f15..8f406895e64c523ceb642699a432728afbb0c7a5 100644 (file)
@@ -120,12 +120,16 @@ a { transition: 0.3s; }
 }
 
 .ryf-list .field--type-image {
 }
 
 .ryf-list .field--type-image {
-  width: 100%;
+  width: 150px;
   height: 150px;
   background: #fff;
   border-radius: 10px;
   display: flex;
   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 {
 }
 
 .ryf-list img {