diff --git a/src/renderer/features/player/components/left-controls.tsx b/src/renderer/features/player/components/left-controls.tsx index 661f85695..487ebcec8 100644 --- a/src/renderer/features/player/components/left-controls.tsx +++ b/src/renderer/features/player/components/left-controls.tsx @@ -31,13 +31,10 @@ const MetadataStack = styled(motion.div)` overflow: hidden; `; -const Image = styled(motion(Link))<{ url: string }>` +const Image = styled(motion(Link))` ${fadeIn}; width: 70px; height: 70px; - background-image: url(${(props) => props.url}); - background-repeat: no-repeat; - background-size: cover; filter: drop-shadow(0 0 5px rgb(0, 0, 0, 100%)); button { @@ -49,6 +46,14 @@ const Image = styled(motion(Link))<{ url: string }>` } `; +const PlayerbarImage = styled.img` + width: 100%; + height: 100%; + background-repeat: no-repeat; + background-position: 50%; + background-size: cover; +`; + const LineItem = styled(Box)<{ secondary?: boolean }>` display: inline-block; width: 95%; @@ -84,9 +89,12 @@ export const LeftControls = () => { initial={{ opacity: 0, x: -50 }} to={AppRoute.NOW_PLAYING} transition={{ duration: 0.3, ease: 'easeInOut' }} - url={song?.imageUrl} > - + + - + )}