Skip to content

Commit

Permalink
fix for trackname overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jgentes committed Feb 5, 2024
1 parent c66bc2d commit 375d5e9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions app/components/mixes/MixCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ const MixCard = ({
const trackName = useLiveQuery(() => getTrackName(trackId), [trackId])

const mixCardHeader = (
<div className="flex mb-3 justify-between">
<div className="flex gap-2">
<EjectControl trackId={trackId} />
<div className="text-md font-medium whitespace-nowrap overflow-hidden overflow-ellipsis">
{trackName}
</div>
<div className="flex mb-3 gap-2">
<EjectControl trackId={trackId} />
<div className="text-md font-medium whitespace-nowrap overflow-hidden overflow-ellipsis">
{trackName}
</div>

<BpmControl trackId={trackId} className="w-28" />
</div>
)
Expand Down

0 comments on commit 375d5e9

Please sign in to comment.