From 9b2631397934d95f30b992801c66c73d4c9273ab Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Mon, 5 Aug 2019 12:43:49 -0400 Subject: [PATCH] better spacing between divs on mobile 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/style.css b/css/style.css index d88b51b..0ad712c 100644 --- a/css/style.css +++ b/css/style.css @@ -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; } } -- 2.25.1