mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
MetaItem progress validation fixed
This commit is contained in:
parent
92ed3f3900
commit
d08e698ba2
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ const MetaItem = React.memo(({ className, type, name, poster, posterShape, playI
|
|||
{
|
||||
progress > 0 ?
|
||||
<div className={styles['progress-bar-layer']}>
|
||||
<div className={styles['progress-bar']} style={{ width: `${Math.min(progress, 1) * 100}%` }} />
|
||||
<div className={styles['progress-bar']} style={{ width: `${Math.max(0, Math.min(1, progress)) * 100}%` }} />
|
||||
</div>
|
||||
:
|
||||
null
|
||||
|
|
|
|||
Loading…
Reference in a new issue