Inversed the aspect ratio to fix bug.

This commit is contained in:
Dries Cruyskens 2020-05-29 18:26:23 +02:00
parent abdc80727d
commit 4ab7972a83

View File

@ -190,7 +190,7 @@ export default {
the height with respect to the width.
*/
return {
'--hero-image-aspect-ratio': this.post.image.aspectRatio,
'--hero-image-aspect-ratio': 1 / this.post.image.aspectRatio,
}
},
},