fix: resize preview thumb images to match container dimensions
This commit is contained in:
parent
dae0c77d3c
commit
fb7736d27d
@ -95,6 +95,12 @@
|
|||||||
.plyr__preview-thumb__image-container {
|
.plyr__preview-thumb__image-container {
|
||||||
width: 85px !important;
|
width: 85px !important;
|
||||||
height: 50px !important;
|
height: 50px !important;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.plyr__preview-thumb__image-container img {
|
||||||
|
width: 85px !important;
|
||||||
|
height: 50px !important;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user