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;
|
height: 50px !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.plyr__preview-thumb__image-container img {
|
.plyr__preview-thumb__image-container img,
|
||||||
transform: scale(0.35) !important;
|
div.plyr__preview-thumb__image-container img {
|
||||||
transform-origin: top left !important;
|
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);
|
document.head.appendChild(style);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user