Moved container to components

This commit is contained in:
spongycake 2022-02-27 00:41:39 +00:00
parent f65b223b61
commit 5be463ca47
1 changed files with 3 additions and 4 deletions

View File

@ -7,9 +7,10 @@
margin-right: auto;
// As soon as the viewport is less than page width plus both gutters,
// 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) {
margin-left: $gutter-half;
margin-right: $gutter-half;
@include padding-left($gutter-half);
@include padding-right($gutter-half);
}
}
// Full width container
@ -18,5 +19,3 @@
margin-left: $gutter-half;
margin-right: $gutter-half;
}