Skip to content

Commit

Permalink
Attempt to fix mobile overflow issues (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
annawng committed Dec 14, 2023
1 parent 5d98334 commit 3fa2dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Track.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Track = ({ track, index }: { track: TrackType; index?: number }) => {
: index
? 'grid-cols-[12fr_2fr] md:grid-cols-[0.5fr_12fr_2fr]'
: 'grid-cols-[12fr_2fr] md:grid-cols-[12fr_8fr_2fr]'
} grid-flow-row items-center gap-4 md:hover:bg-neutral-800 text-neutral-400 md:hover:text-white transition md:px-4 py-2 rounded-md [&>*]:min-w-full group cursor-pointer md:cursor-default`}
} grid-flow-row items-center gap-4 md:hover:bg-neutral-800 text-neutral-400 md:hover:text-white transition md:px-4 py-2 rounded-md [&>*]:min-w-full group cursor-pointer md:cursor-default max-w-full`}
onClick={isMobile ? playTrack : undefined}
>
{index && !isMobile && (
Expand Down

0 comments on commit 3fa2dde

Please sign in to comment.