From: Andrew Engelbrecht Date: Mon, 5 Aug 2019 16:43:49 +0000 (-0400) Subject: better spacing between divs on mobile X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=9b2631397934d95f30b992801c66c73d4c9273ab;ds=sidebyside 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. --- 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; } }