fix cover image

This commit is contained in:
Dan Lebo
2023-02-09 21:31:15 -08:00
parent 5ca0d3447e
commit 2c3c0388bb

View File

@@ -576,7 +576,7 @@ async function Playlist({ playlistId }) {
<div style={{animation: 'fadein 200ms'}}>
<PlaylistPage
playlist={{
cover: 'https://i.imgur.com/ViI3rY8.jpg',
cover: 'https://i.imgur.com/zBJvLHG.jpg',
name: 'React Conf 2021',
videos,
}}
@@ -772,7 +772,8 @@ function Cover({background, children}) {
src={background}
alt="Cover image"
width="100%"
className="max-w-full"
height="100%"
className="max-w-full object-cover"
/>
</div>
);