diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index 7eac71b32..f42fafdd7 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 = width / this.post.imageAspectRatio + const height = Math.min((width / this.post.imageAspectRatio), 2000) const imageElement = this.$el.querySelector('.ds-card-image') if (imageElement) {