Skip to content

Commit

Permalink
Fixed issue relating to text overflow in VolunteerEventsTable
Browse files Browse the repository at this point in the history
  • Loading branch information
Aokijiop committed May 8, 2024
1 parent 6529591 commit 64013e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Checkin/VolunteerEventsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ const RenderVolunteerRow = ({ volunteer, changeIsCheckedIn, isCheckinPage, isVie
return (
<Tr key={id} bg="#FFFFFF" fontWeight={'medium'}>
<Td>
<Flex>
<Flex maxWidth={{ base: '200px', md: '200px', lg: '300px', xl: '300px' }}>
<Image src={image_url} boxSize="4rem" borderRadius="full" />
<Flex direction="column" ml={3} mt={4} g={1}>
<Text color={'#2D3748'}>
<Flex direction="column" ml={3} mt={4} g={1} maxW="75%">
<Text color={'#2D3748'} overflow="hidden" textOverflow="ellipsis" whiteSpace="nowrap">
{first_name} {last_name}
</Text>
</Flex>
</Flex>
</Td>
<Td>
<Td display={{ base: 'none', lg: 'table-cell' }}>
<Flex>
<Box backgroundColor="#8589dc" boxSize="2rem" borderRadius="full" mr={5}>
<Center mt={2}>
Expand Down Expand Up @@ -93,7 +93,7 @@ const RenderVolunteerRow = ({ volunteer, changeIsCheckedIn, isCheckinPage, isVie
</Flex>
</Td>
<Td>
<Flex alignItems={'start'} justifyContent={'start'}>
<Flex alignItems={'start'} justifyContent={'start'} >
<Text fontSize="md">{number_in_party}</Text>
</Flex>
</Td>
Expand Down Expand Up @@ -207,7 +207,7 @@ const VolunteerEventsTable = ({
</Text>
</Flex>
</Th>
<Th>
<Th display={{ base: 'none', lg: 'flex' }}>
<Flex gap={2}>
<Text color="#2D3748" fontWeight="650">
Type
Expand Down

0 comments on commit 64013e1

Please sign in to comment.