mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
change line 152
".ds-card-imag" TO ".ds-card-image"
This commit is contained in:
parent
4c93f65ef4
commit
792ae8d598
@ -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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user