mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
image tweaks
This commit is contained in:
parent
1cc6d44951
commit
77ca198684
@ -13,6 +13,7 @@ a:focus .frame {
|
||||
|
||||
.image {
|
||||
composes: frame;
|
||||
max-width: none;
|
||||
margin-top: calc(var(--spacer) * var(--line-height));
|
||||
margin-bottom: calc(var(--spacer) * var(--line-height));
|
||||
position: relative;
|
||||
|
@ -34,7 +34,13 @@ export const imageSizeThumb = graphql`
|
||||
original {
|
||||
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