Skip to content

Commit

Permalink
Improved song cover image positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandakan committed Mar 8, 2025
1 parent 0146f3c commit 38d53b6
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 13 deletions.
73 changes: 61 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const CurrentlyPlayingSongInfoContainer = () => {
`before:absolute before:h-[85%] before:w-[85%] before:rounded-md before:bg-background-color-2 before:bg-dark-background-color-2 before:content-[''] after:absolute after:h-5 after:w-5 after:animate-spin-ease after:rounded-full after:border-2 after:border-[transparent] after:border-t-font-color-black after:content-[''] dark:after:border-t-font-color-white`
} */}
<Img
className="h-full max-w-full rounded-lg object-fill shadow-xl"
className="aspect-square h-full max-w-full rounded-lg object-cover object-center shadow-xl"
src={currentSongData.artworkPath}
fallbackSrc={DefaultSongCover}
alt="Default song cover"
Expand Down

0 comments on commit 38d53b6

Please sign in to comment.