fix: adjust container dimensions to maintain original aspect ratio with 50px height

This commit is contained in:
Ching L 2025-12-04 01:11:59 +08:00
parent efd606d0b5
commit 9236538784

View File

@ -93,14 +93,14 @@
const style = document.createElement('style'); const style = document.createElement('style');
style.textContent = ` style.textContent = `
.plyr__preview-thumb__image-container { .plyr__preview-thumb__image-container {
width: 85px !important; width: 88px !important;
height: 50px !important; height: 50px !important;
overflow: hidden; overflow: hidden;
} }
.plyr__preview-thumb__image-container img { .plyr__preview-thumb__image-container img {
width: 253px !important; width: 253px !important;
height: 143px !important; height: 143px !important;
transform: scale(0.336) !important; transform: scale(0.35) !important;
transform-origin: top left !important; transform-origin: top left !important;
} }
`; `;