fix: preserve sprite image positioning while resizing preview container

This commit is contained in:
Ching L 2025-12-04 01:05:48 +08:00
parent fb7736d27d
commit c69b3967f1

View File

@ -98,9 +98,10 @@
overflow: hidden; overflow: hidden;
} }
.plyr__preview-thumb__image-container img { .plyr__preview-thumb__image-container img {
width: 85px !important; width: auto !important;
height: 50px !important; height: auto !important;
object-fit: cover; min-width: 85px !important;
min-height: 50px !important;
} }
`; `;
document.head.appendChild(style); document.head.appendChild(style);