Skip to content

Commit

Permalink
fix(Expandable): Center icon
Browse files Browse the repository at this point in the history
  • Loading branch information
raulsteurer committed Apr 4, 2022
1 parent 33297fa commit 66334f4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/Expandable/Expandable.tsx
Expand Up @@ -63,9 +63,15 @@ export const Expandable: React.FC<ExpandableProps> = ({
>
<Flex flexDir="row" justifyContent="space-between" alignItems="center">
<Flex flexDir="row" alignItems="center">
<Box width="20" height="20" display={['none', null, null, 'unset']}>
<Flex
width="20"
height="20"
display={['none', null, null, 'flex']}
alignItems="center"
justifyContent="center"
>
{icon}
</Box>
</Flex>
<Box ml={['0', null, null, '8']}>
<Flex flexDir="row" alignItems="center">
<Text size="xsLowBold" color="gray.500" mr="2">
Expand Down

1 comment on commit 66334f4

@vercel
Copy link

@vercel vercel bot commented on 66334f4 Apr 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.