Improved Placeholder Icon for Video Thumbnails

This commit is contained in:
Alexandru Branza 2022-10-05 10:28:54 +03:00
parent d665b013e1
commit 66b8af2ace
3 changed files with 8 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -69,9 +69,9 @@ const Video = ({ className, id, title, thumbnail, episode, released, upcoming, w
src={thumbnail}
alt={' '}
renderFallback={() => (
<Icon
<img
className={styles['placeholder-icon']}
icon={'ic_broken_link'}
src={require('/images/stremio_dock_white.png')}
/>
)}
/>

View file

@ -38,7 +38,12 @@
width: 7.5rem;
height: 5rem;
padding: 0.5rem;
fill: @color-secondaryvariant1-light3-90;
-o-object-fit: contain;
object-fit: contain;
-o-object-position: center;
object-position: center;
opacity: 0.5;
background-color: rgba(255,255,255,0.2);
}
}