stage #1

Merged
ThaMunsta merged 2 commits from stage into main 2026-01-31 00:39:27 +00:00
Showing only changes of commit 94c9e28393 - Show all commits

View File

@@ -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>