1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +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) { @media (min-width: 30rem) {
width: 40vw; width: 40vw;
max-width: 500px;
margin-left: $spacer * 2; margin-left: $spacer * 2;
} }
} }

View File

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