projects
/
ryf-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76bacbf
)
better spacing between divs on mobile
author
Andrew Engelbrecht
<andrew@fsf.org>
Mon, 5 Aug 2019 16:43:49 +0000
(12:43 -0400)
committer
Andrew 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
patch
|
blob
|
blame
|
history
diff --git
a/css/style.css
b/css/style.css
index d88b51be932765c82c34f9c0520c98b0cb295803..0ad712c020bd2c677074f61e8d34a2bc58996227 100644
(file)
--- 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;
}
}