fix zoomed images too big
This commit is contained in:
parent
6f6dea204e
commit
01b965cfaa
@ -155,6 +155,7 @@ const GalleryImage = ({ data, pageContext }) => {
|
|||||||
alt={name}
|
alt={name}
|
||||||
src={image.publicURL}
|
src={image.publicURL}
|
||||||
style={{
|
style={{
|
||||||
|
width: canonicalSize.width / window.devicePixelRatio,
|
||||||
maxWidth: "unset",
|
maxWidth: "unset",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user