From ddb4374e5671c5d60d7083a7000ff128d4b88196 Mon Sep 17 00:00:00 2001 From: Gabriel Cousin Date: Mon, 12 Oct 2015 15:18:03 +0200 Subject: [PATCH] Box(es) | add missing vertical spacing --- dist/css/tapestry.css | 6 ++++-- src/scss/components/box/_base.scss | 3 ++- src/scss/components/box/_group.scss | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dist/css/tapestry.css b/dist/css/tapestry.css index 77e2a715..636441ab 100644 --- a/dist/css/tapestry.css +++ b/dist/css/tapestry.css @@ -728,7 +728,8 @@ th { .Box:after { clear: both; zoom: 1; } - .Box + .Box { + .Box + .Box, + .Box + .Boxes { margin-top: 1.57143rem; } .Box > .Table { border-width: 1px 0 0; } @@ -766,7 +767,8 @@ th { margin-top: 0; } .Boxes > .Box + .Box { border-left: 0; } - .Boxes + .Boxes { + .Boxes + .Boxes, + .Boxes + .Box { margin-top: 1.57143rem; } .Collection { diff --git a/src/scss/components/box/_base.scss b/src/scss/components/box/_base.scss index 334f22d1..eed4932c 100644 --- a/src/scss/components/box/_base.scss +++ b/src/scss/components/box/_base.scss @@ -3,7 +3,8 @@ background: $white; border: 1px solid $porcelain; - + .Box { + + .Box, + + .Boxes { margin-top: $mg--m; } diff --git a/src/scss/components/box/_group.scss b/src/scss/components/box/_group.scss index c2ce4cf1..2741577f 100644 --- a/src/scss/components/box/_group.scss +++ b/src/scss/components/box/_group.scss @@ -10,7 +10,8 @@ } } - + .Boxes { + + .Boxes, + + .Box, { margin-top: $mg--m; } }