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;
}
.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);