better spacing between divs on mobile
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 5 Aug 2019 16:43:49 +0000 (12:43 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Mon, 5 Aug 2019 16:43:49 +0000 (12:43 -0400)
we have to use padding here due to strangeness when a div clears
floating elements. an upper margin in that div would be ignored.

css/style.css

index d88b51be932765c82c34f9c0520c98b0cb295803..0ad712c020bd2c677074f61e8d34a2bc58996227 100644 (file)
@@ -481,10 +481,12 @@ a { transition: 0.3s; }
 
   .page-node-type-product .product .field--name-field-categories,
   .page-node-type-product .product .field--name-field-vendor {
+    margin-bottom: 0px;
     float: left;
   }
 
   .page-node-type-product .product .field--name-body {
+    padding-top: 20px;
     clear: both;
   }
 }