Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
fix: add width to wrapper of Layout, Divider and Layout elements in I…
Browse files Browse the repository at this point in the history
…tem component
  • Loading branch information
Mirved64 committed Aug 7, 2023
1 parent 6bd8405 commit 8bd77d2
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ export const Item: FC<TechnologyProps> = ({ technologyName, divider, font = 'pri
</Text>
</Box>

<Layout flexBasis={[12, 24]} flexShrink='0' />
<Box width={[51, 96]}>
<Layout flexBasis={[12, 24]} flexShrink='0' />

<Box width={[27, 48]} alignItems='center' flexShrink='0'>
<Divider backgroundColor='divider.white' weight={divider} />
</Box>
<Box width={[27, 48]} alignItems='center' flexShrink='0'>
<Divider backgroundColor='divider.white' weight={divider} />
</Box>

<Layout flexBasis={[12, 24]} flexShrink='0' />
<Layout flexBasis={[12, 24]} flexShrink='0' />
</Box>
</Box>
)

0 comments on commit 8bd77d2

Please sign in to comment.