fix: add transform scale to shrink preview images to fit container

This commit is contained in:
Ching L 2025-12-04 01:16:49 +08:00
parent 92984f7b1c
commit 0054293187

View File

@ -97,6 +97,10 @@
height: 50px !important; height: 50px !important;
overflow: hidden; overflow: hidden;
} }
.plyr__preview-thumb__image-container img {
transform: scale(0.35) !important;
transform-origin: top left !important;
}
`; `;
document.head.appendChild(style); document.head.appendChild(style);
console.log('Custom styles added for preview thumb image container'); console.log('Custom styles added for preview thumb image container');