Skip to content

Commit

Permalink
Changed alignment of 'for you'
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdwinden committed Oct 15, 2024
1 parent fae8919 commit d483bc8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ const RecommendationItem: React.FC<{recommendation: Recommendation}> = ({recomme
</TableCell>
<TableCell className='hidden w-[1%] whitespace-nowrap align-middle md:!visible md:!table-cell' onClick={showDetails}>
{(count === 0) ? null : (
<div className='-mt-px text-left'>
<span className='-mb-px inline-block min-w-[60px] whitespace-nowrap text-left text-sm lowercase text-grey-700'>{showSubscribers ? newMembers : clicks}</span>
<span className='mt-1 whitespace-nowrap text-right text-sm text-grey-700 opacity-0 transition-opacity duration-200 group-hover:opacity-100'>from you</span>
<div className='-mt-px'>
<span className='-mb-px inline-block whitespace-nowrap text-sm text-grey-700'>
<span className='lowercase'>{showSubscribers ? newMembers : clicks}</span>
<span className='opacity-0 transition-opacity duration-200 group-hover:opacity-100'> from you</span>
</span>
</div>
)}
</TableCell>
Expand Down

0 comments on commit d483bc8

Please sign in to comment.