make the song name link less fat
Some checks failed
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-13 00:34:00 +01:00
parent 1998049509
commit 783da27b1e

@ -66,13 +66,11 @@ export default function ScoreSongInfo({ leaderboard, beatSaverMap }: Props) {
<div className="overflow-y-clip"> <div className="overflow-y-clip">
<Link <Link
href={`/leaderboard/${leaderboard.id}`} href={`/leaderboard/${leaderboard.id}`}
className="cursor-pointer select-none hover:brightness-75 transform-gpu transition-all" className="cursor-pointer select-none hover:brightness-75 transform-gpu transition-all text-pp w-fit"
> >
<p className="text-pp"> {leaderboard.songName} {leaderboard.songSubName}
{leaderboard.songName} {leaderboard.songSubName}
</p>
<p className="text-sm text-gray-400">{leaderboard.songAuthorName}</p>
</Link> </Link>
<p className="text-sm text-gray-400">{leaderboard.songAuthorName}</p>
<FallbackLink href={mappersProfile}> <FallbackLink href={mappersProfile}>
<p className={clsx("text-sm", mappersProfile && "hover:brightness-75 transform-gpu transition-all w-fit")}> <p className={clsx("text-sm", mappersProfile && "hover:brightness-75 transform-gpu transition-all w-fit")}>
{leaderboard.levelAuthorName} {leaderboard.levelAuthorName}