Moved container to components
This commit is contained in:
parent
f65b223b61
commit
5be463ca47
|
@ -7,9 +7,10 @@
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
// As soon as the viewport is less than page width plus both gutters,
|
// As soon as the viewport is less than page width plus both gutters,
|
||||||
// then add gutter spacing to container
|
// then add gutter spacing to container
|
||||||
|
// TODO: change to media-query helper instead of mq.mq
|
||||||
@include mq.mq($until: $container-page-width + $gutter * 2) {
|
@include mq.mq($until: $container-page-width + $gutter * 2) {
|
||||||
margin-left: $gutter-half;
|
@include padding-left($gutter-half);
|
||||||
margin-right: $gutter-half;
|
@include padding-right($gutter-half);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Full width container
|
// Full width container
|
||||||
|
@ -18,5 +19,3 @@
|
||||||
margin-left: $gutter-half;
|
margin-left: $gutter-half;
|
||||||
margin-right: $gutter-half;
|
margin-right: $gutter-half;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue