From c69b3967f198f271a7bf5245e3040e0327ee3c74 Mon Sep 17 00:00:00 2001 From: Ching L Date: Thu, 4 Dec 2025 01:05:48 +0800 Subject: [PATCH] fix: preserve sprite image positioning while resizing preview container --- sortbylikecount.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sortbylikecount.js b/sortbylikecount.js index 95998c9..cad52fc 100644 --- a/sortbylikecount.js +++ b/sortbylikecount.js @@ -98,9 +98,10 @@ overflow: hidden; } .plyr__preview-thumb__image-container img { - width: 85px !important; - height: 50px !important; - object-fit: cover; + width: auto !important; + height: auto !important; + min-width: 85px !important; + min-height: 50px !important; } `; document.head.appendChild(style);