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; height: 50px !important;
overflow: hidden; overflow: hidden;
} }
.plyr__preview-thumb__image-container img { .plyr__preview-thumb__image-container img,
transform: scale(0.35) !important; div.plyr__preview-thumb__image-container img {
transform-origin: top left !important; 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); document.head.appendChild(style);