Skip to content

Commit 80e2ea0

Browse files
author
Paulo Júnior
authored
fix: Hub tagline to not break lines
1 parent ce62c3e commit 80e2ea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/nav/Product.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type NavProductProps = {
2020
}[]
2121
}
2222

23-
const Product: React.FC<NavProductProps> = ({ logo, title, titleHtml, description, url, links, color, bgColor }) => (
23+
const Product = ({ logo, title, titleHtml, description, url, links, color, bgColor }: NavProductProps) => (
2424
<Box sx={{ p: 40, backgroundColor: bgColor || '#fff' }}>
2525
<Box>{logo}</Box>
2626
{titleHtml || (
@@ -38,7 +38,7 @@ const Product: React.FC<NavProductProps> = ({ logo, title, titleHtml, descriptio
3838
{title}
3939
</Heading>
4040
)}
41-
<Text as="p" sx={{ fontSize: '16px', mt: 1, lineHeight: 1.33, color: '#677581' }}>
41+
<Text as="p" sx={{ fontSize: '16px', mt: 1, lineHeight: 1.33, color: '#677581', whiteSpace: 'nowrap' }}>
4242
{description}
4343
</Text>
4444
<ArrowLink url={url} icon="arrow" iconHoverTransform={true} color={color} mt={`10px`}>

0 commit comments

Comments
 (0)