Skip to content

Commit edb9707

Browse files
committed
fixed the box issue
1 parent d91682a commit edb9707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/HorizontalCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ const HorizontalCard: React.FC<IProps> = ({
2121
}) => (
2222
<Flex borderRadius="base" className={className}>
2323
<Emoji fontSize={`${emojiSize}rem`} text={emoji} />
24-
<Flex grow="0" shrink="1" basis="75%" ml="8">
24+
<Box flexGrow="0" flexShrink="1" flexBasis="75%" ml="8">
2525
<Text fontSize="lg">{title}</Text>
2626
<Text opacity="0.8" mt="-4" mb="2">
2727
{description}
2828
</Text>
2929
{children}
30-
</Flex>
30+
</Box>
3131
</Flex>
3232
)
3333

0 commit comments

Comments
 (0)