From 4ab7972a8354344e4fd01bff47227fba6c14cfdd Mon Sep 17 00:00:00 2001 From: Dries Cruyskens Date: Fri, 29 May 2020 18:26:23 +0200 Subject: [PATCH] Inversed the aspect ratio to fix bug. --- webapp/pages/post/_id/_slug/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index c352d17b4..9283cf49d 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -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, } }, },