Use naturalHeight for determining if a thumbnail must be cropped.

This commit is contained in:
WardPearce
2026-03-05 16:15:46 +13:00
parent 011303cc07
commit 459fff9192
@@ -113,7 +113,7 @@
onclick={onVideoSelected}
>
<div class="thumbnail-image">
<div class:crop={thumbnailHTMLElement ? thumbnailHTMLElement.height > 300 : false}>
<div class:crop={thumbnailHTMLElement ? thumbnailHTMLElement.naturalHeight > 300 : false}>
<img
class="responsive"
class:watched={progress !== undefined}