1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 09:13:19 +01:00

limit project nav image sizes

This commit is contained in:
Matthias Kretschmann 2018-06-13 21:29:48 +02:00
parent f8420ac660
commit 54914369a3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,7 @@
@media (min-width: 30rem) {
width: 40vw;
max-width: 500px;
margin-left: $spacer * 2;
}
}

View File

@ -155,7 +155,9 @@ export const projectAndProjectsQuery = graphql`
slug
img {
childImageSharp {
...ProjectImageSizes
sizes(maxWidth: 500, quality: 85) {
...GatsbyImageSharpSizes_noBase64
}
}
}
}