Merge pull request #54 from EbookFoundation/book-breakpoint

Use breakpoint mixin on book page
footer
Jonah Mania 2018-02-06 14:48:45 -05:00 committed by GitHub
commit 8af37b8d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
@media screen and (max-width: 480px) { @import 'foundation';
@include breakpoint (small down) {
.wrapper { .wrapper {
display: grid; display: grid;
grid-template-columns: fit-content 1fr 20%; grid-template-columns: fit-content 1fr 20%;
@ -50,7 +52,7 @@
} }
} }
@media screen and (min-width: 480px) { @include breakpoint (medium) {
.wrapper { .wrapper {
display: grid; display: grid;
grid-template-columns: fit-content 1fr 20%; grid-template-columns: fit-content 1fr 20%;