Preview seek: Edge+IE11 fixes

- Fixed bug: Edge seek errors: Replaced array spread with Array.from()
- Fixed IE11 bug: seek time was offset to the left. Required an extra container div to facilitate this
This commit is contained in:
James
2018-12-15 11:32:50 +11:00
parent 279f051905
commit d97257a5a9
3 changed files with 33 additions and 14 deletions

View File

@ -32,16 +32,21 @@
}
// Seek time text
span {
.plyr__preview-time-text-container {
position: absolute;
bottom: 0px;
left: 0px;
right: 0px;
margin-bottom: 2px;
z-index: 3;
transform: translate(-50%,0);
background-color: rgba(0,0,0,0.55);
color: rgba(255,255,255,1);
padding: 4px 6px 3px 6px;
font-size: $plyr-font-size-small;
font-weight: $plyr-font-weight-regular;
span {
background-color: rgba(0,0,0,0.55);
color: rgba(255,255,255,1);
padding: 4px 6px 3px 6px;
font-size: $plyr-font-size-small;
font-weight: $plyr-font-weight-regular;
}
}
}