Extend grid view to the right to better fill the page

- Use a negative right margin to pull `.grid__wrapper` into the dead space left for a sidebar.
- Add sample documents to "portfolio" collection to test grid view
- Update CHANGELOG and history
This commit is contained in:
Michael Rose
2017-08-09 13:00:33 -04:00
parent 1610ed853c
commit f1afdf0397
10 changed files with 215 additions and 1 deletions

View File

@ -96,6 +96,21 @@
Grid view
========================================================================== */
.archive {
.grid__wrapper {
/* extend grid elements to the right */
@include breakpoint($large) {
margin-right: -1 * $right-sidebar-width-narrow;
}
@include breakpoint($x-large) {
margin-right: -1 * $right-sidebar-width;
}
}
}
.grid__item {
margin-bottom: 2em;