Skip to content

Commit

Permalink
Showing only name on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Josefine authored and Josefine committed Oct 28, 2024
1 parent 8ab71c4 commit 2b95bc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/EventAdministration/components/Participant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const Participant = ({ registration, eventId }: ParticipantProps) => {
<h1>
{registration.user_info.first_name} {registration.user_info.last_name}
</h1>
<h1 className='text-sm'>{getUserAffiliation(registration.user_info)}</h1>
<h1 className='text-sm hidden md:block'>{getUserAffiliation(registration.user_info)}</h1>
</div>
</div>
<div className='flex items-center space-x-2'>
Expand Down Expand Up @@ -146,7 +146,7 @@ const Participant = ({ registration, eventId }: ParticipantProps) => {
htmlFor={registration.user_info.user_id}>
<Checkbox checked={checkedState} id={registration.user_info.user_id} onCheckedChange={(checked) => handleAttendedCheck(Boolean(checked))} />
<div className='space-y-1 leading-none'>
<Label>Ankommet?</Label>
<Label>Ankommet? </Label>
<p className='text-sm text-muted-foreground'>Marker om deltager har ankommet</p>
</div>
</label>
Expand Down

0 comments on commit 2b95bc9

Please sign in to comment.