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:
parent
22397fb2a2
commit
17142dc6d3
4 changed files with 21 additions and 9 deletions
|
@ -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%;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue