Embed: improved display of UI for small player widths

- increased "small player" threshold from 200 to 300px
- hide totalTime element when below threshold
- text-overflow: ellipsis for currentTime element, put content in title attribute
This commit is contained in:
Cat 2021-08-11 10:43:23 +02:00 committed by Thulinma
parent 124ae55037
commit a73a3f4ecd
5 changed files with 23 additions and 6 deletions

View file

@ -126,6 +126,11 @@ svg.icon.timeout {
.mistvideo[data-show-submenu] .mistvideo-controls {
bottom: 0;
}
.mistvideo-currentTime {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mistvideo-videobackground {
position: absolute;
width: 100%;