diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index f42fafdd7..79ba9e8f0 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -143,7 +143,7 @@ export default { }, mounted() { const width = this.$el.offsetWidth - const height = Math.min((width / this.post.imageAspectRatio), 2000) + const height = Math.min(width / this.post.imageAspectRatio, 2000) const imageElement = this.$el.querySelector('.ds-card-image') if (imageElement) { diff --git a/webapp/pages/post/_id/_slug/more-info.vue b/webapp/pages/post/_id/_slug/more-info.vue index fa690c354..2297800a2 100644 --- a/webapp/pages/post/_id/_slug/more-info.vue +++ b/webapp/pages/post/_id/_slug/more-info.vue @@ -19,7 +19,11 @@