Skip to content

Commit

Permalink
Box(es) | add missing vertical spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cousin committed Oct 12, 2015
1 parent e17b639 commit ddb4374
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions dist/css/tapestry.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion src/scss/components/box/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
background: $white;
border: 1px solid $porcelain;

+ .Box {
+ .Box,
+ .Boxes {
margin-top: $mg--m;
}

Expand Down
3 changes: 2 additions & 1 deletion src/scss/components/box/_group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
}
}

+ .Boxes {
+ .Boxes,
+ .Box, {
margin-top: $mg--m;
}
}

0 comments on commit ddb4374

Please sign in to comment.