Adding padding to a simple susy layout seems to break the grid for me. Adding the padding to .item
class breaks the otherwise functioning 12-column grid.
$susy: (
columns: 12,
gutters: 1/4,
gutter-position: split
);
$grid-padding:1em;
.wrap {
border: 1px solid red;
.item{
background: lightGrey;
padding-bottom: 10px;
padding: 10px; //<= THIS BREAKS THE GRID
}
}
.wrap {
border: 1px solid red;
@include container(900px);
}
.item {
&.main{
@include span(8 first);
}
&.side {
@include span(4 last);
}
}
.main:after {
content: '';
display: block;
clear:both;
}
The documentation kind of makes it seem as though padding can be specified as the third argument to the span
mixin, but that isn't working for me either.