diff --git a/webapp/components/PostCard/PostCard.vue b/webapp/components/PostCard/PostCard.vue index 0b7632ec3..03abbf860 100644 --- a/webapp/components/PostCard/PostCard.vue +++ b/webapp/components/PostCard/PostCard.vue @@ -149,7 +149,7 @@ export default { mounted() { const width = this.$el.offsetWidth const height = Math.min(width / this.post.imageAspectRatio, 2000) - const imageElement = this.$el.querySelector('.ds-card-imag') + const imageElement = this.$el.querySelector('.ds-card-image') if (imageElement) { imageElement.style.height = `${height}px`