move div for better presentation

This commit is contained in:
2026-01-30 21:57:04 -05:00
parent a5b0d3352b
commit be91e1a078

View File

@@ -263,8 +263,8 @@ export default function Friends() {
> >
{removing === friend.id ? 'Removing...' : 'Remove'} {removing === friend.id ? 'Removing...' : 'Remove'}
</button> </button>
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
</div> </div>
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
</div> </div>
))} ))}
{challengeFriends.length > 0 && ( {challengeFriends.length > 0 && (
@@ -296,8 +296,8 @@ export default function Friends() {
> >
{sending === friend.id ? 'Sending...' : friend.friendship_status === 'pending' ? 'Pending' : 'Add Friend'} {sending === friend.id ? 'Sending...' : friend.friendship_status === 'pending' ? 'Pending' : 'Add Friend'}
</button> </button>
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
</div> </div>
<div style={{ color: 'var(--primary)', whiteSpace: 'nowrap' }}>{friend.total_points} points</div>
</div> </div>
))} ))}
</> </>