fix: directly resize image instead of using transform, override positioning
This commit is contained in:
parent
0054293187
commit
3d1f189293
@ -97,9 +97,16 @@
|
||||
height: 50px !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
.plyr__preview-thumb__image-container img {
|
||||
transform: scale(0.35) !important;
|
||||
transform-origin: top left !important;
|
||||
.plyr__preview-thumb__image-container img,
|
||||
div.plyr__preview-thumb__image-container img {
|
||||
width: 89px !important;
|
||||
height: 50px !important;
|
||||
object-fit: cover !important;
|
||||
min-width: unset !important;
|
||||
min-height: unset !important;
|
||||
transform: none !important;
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
}
|
||||
`;
|
||||
document.head.appendChild(style);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user