fix: preserve sprite image positioning while resizing preview container
This commit is contained in:
parent
fb7736d27d
commit
c69b3967f1
@ -98,9 +98,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.plyr__preview-thumb__image-container img {
|
.plyr__preview-thumb__image-container img {
|
||||||
width: 85px !important;
|
width: auto !important;
|
||||||
height: 50px !important;
|
height: auto !important;
|
||||||
object-fit: cover;
|
min-width: 85px !important;
|
||||||
|
min-height: 50px !important;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user