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:
parent
f8420ac660
commit
54914369a3
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -155,7 +155,9 @@ export const projectAndProjectsQuery = graphql`
|
|||||||
slug
|
slug
|
||||||
img {
|
img {
|
||||||
childImageSharp {
|
childImageSharp {
|
||||||
...ProjectImageSizes
|
sizes(maxWidth: 500, quality: 85) {
|
||||||
|
...GatsbyImageSharpSizes_noBase64
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user