fix: directly resize image instead of using transform, override positioning

This commit is contained in:
Ching L 2025-12-04 01:17:49 +08:00
parent 0054293187
commit 3d1f189293

View File

@ -97,9 +97,16 @@
height: 50px !important;
overflow: hidden;
}
.plyr__preview-thumb__image-container img {
transform: scale(0.35) !important;
transform-origin: top left !important;
.plyr__preview-thumb__image-container img,
div.plyr__preview-thumb__image-container img {
width: 89px !important;
height: 50px !important;
object-fit: cover !important;
min-width: unset !important;
min-height: unset !important;
transform: none !important;
left: 0 !important;
top: 0 !important;
}
`;
document.head.appendChild(style);