fix: use transform scale to properly resize preview thumb images
This commit is contained in:
parent
c69b3967f1
commit
efd606d0b5
@ -98,10 +98,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.plyr__preview-thumb__image-container img {
|
.plyr__preview-thumb__image-container img {
|
||||||
width: auto !important;
|
width: 253px !important;
|
||||||
height: auto !important;
|
height: 143px !important;
|
||||||
min-width: 85px !important;
|
transform: scale(0.336) !important;
|
||||||
min-height: 50px !important;
|
transform-origin: top left !important;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user