fix: add transform scale to shrink preview images to fit container
This commit is contained in:
parent
92984f7b1c
commit
0054293187
@ -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');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user