mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-08 20:55:45 +01:00
image tweaks
This commit is contained in:
parent
1cc6d44951
commit
77ca198684
@ -13,6 +13,7 @@ a:focus .frame {
|
|||||||
|
|
||||||
.image {
|
.image {
|
||||||
composes: frame;
|
composes: frame;
|
||||||
|
max-width: none;
|
||||||
margin-top: calc(var(--spacer) * var(--line-height));
|
margin-top: calc(var(--spacer) * var(--line-height));
|
||||||
margin-bottom: calc(var(--spacer) * var(--line-height));
|
margin-bottom: calc(var(--spacer) * var(--line-height));
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -34,7 +34,13 @@ export const imageSizeThumb = graphql`
|
|||||||
original {
|
original {
|
||||||
src
|
src
|
||||||
}
|
}
|
||||||
gatsbyImageData(layout: CONSTRAINED, width: 480, height: 140, quality: 85)
|
gatsbyImageData(
|
||||||
|
layout: CONSTRAINED
|
||||||
|
width: 480
|
||||||
|
height: 180
|
||||||
|
quality: 85
|
||||||
|
transformOptions: { cropFocus: CENTER }
|
||||||
|
)
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user