1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

tweak osd for narrow view

This commit is contained in:
nyanmisaka 2020-11-17 22:34:02 +08:00
parent 22397fb2a2
commit 17142dc6d3
4 changed files with 21 additions and 9 deletions

View file

@ -157,7 +157,7 @@
}
.mdl-slider-background-flex {
background: #333;
background: rgba(255, 255, 255, 0.3);
height: 0.2em;
margin-top: -0.1em;
width: 100%;

View file

@ -442,7 +442,9 @@ import 'emby-input';
position = (position / runtime) * 100;
}
for (const range in ranges) {
for (let i = 0, length = ranges.length; i < length; i++) {
const range = ranges[i];
if (position != null) {
if (position >= range.end) {
continue;