mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-05 20:59:49 +00:00
Improved Placeholder Icon for Video Thumbnails
This commit is contained in:
parent
d665b013e1
commit
66b8af2ace
3 changed files with 8 additions and 3 deletions
BIN
images/stremio_dock_white.png
Normal file
BIN
images/stremio_dock_white.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -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')}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue