fix: use transform scale to properly resize preview thumb images

This commit is contained in:
Ching L 2025-12-04 01:10:13 +08:00
parent c69b3967f1
commit efd606d0b5

View File

@ -98,10 +98,10 @@
overflow: hidden; overflow: hidden;
} }
.plyr__preview-thumb__image-container img { .plyr__preview-thumb__image-container img {
width: auto !important; width: 253px !important;
height: auto !important; height: 143px !important;
min-width: 85px !important; transform: scale(0.336) !important;
min-height: 50px !important; transform-origin: top left !important;
} }
`; `;
document.head.appendChild(style); document.head.appendChild(style);