fix: shorts thumbnail scaling

This commit is contained in:
Sai Karthik 2022-06-25 15:40:14 +05:30
parent 4f1a67cbe5
commit f8fccdb30f
No known key found for this signature in database
GPG key ID: F5B9A961BF6EAF0E

View file

@ -11,7 +11,7 @@
}" }"
> >
<img <img
:style="`max-height: ${height}px; max-width: ${width}px`" :style="`max-height: ${height}px; max-width: ${width}px; object-fit: contain`"
class="w-full" class="w-full"
:src="video.thumbnail" :src="video.thumbnail"
:alt="video.title" :alt="video.title"