stage #1
@@ -312,15 +312,15 @@ export default function ChallengeDetail() {
|
||||
borderRadius: '0.5rem'
|
||||
}}
|
||||
>
|
||||
<div style={{ flex: 1, minWidth: 0, overflow: 'hidden' }}>
|
||||
<div style={{ fontWeight: 500, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{friend.username}</div>
|
||||
<div style={{ fontSize: '0.875rem', color: 'var(--text-muted)', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>{friend.email}</div>
|
||||
<div style={{ flex: 1, minWidth: 0 }}>
|
||||
<div style={{ fontWeight: 500 }}>{friend.username}</div>
|
||||
<div style={{ fontSize: '0.875rem', color: 'var(--text-muted)' }}>{friend.email}</div>
|
||||
</div>
|
||||
<button
|
||||
className="btn btn-primary btn-sm"
|
||||
onClick={() => handleInvite(friend.id, friend.username)}
|
||||
disabled={inviting === friend.id}
|
||||
style={{ flexShrink: 0 }}
|
||||
style={{ flexShrink: 0, width: 'auto' }}
|
||||
>
|
||||
{inviting === friend.id ? 'Inviting...' : 'Invite'}
|
||||
</button>
|
||||
@@ -376,7 +376,7 @@ export default function ChallengeDetail() {
|
||||
className="btn btn-primary btn-sm"
|
||||
onClick={() => handleInvite(user.id, user.username)}
|
||||
disabled={inviting === user.id}
|
||||
style={{ flexShrink: 0 }}
|
||||
style={{ flexShrink: 0, width: 'auto' }}
|
||||
>
|
||||
{inviting === user.id ? 'Inviting...' : 'Invite'}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user