Skip to content

Commit 07619e5

Browse files
style(MdxHero): remove margin from breadcrumbs and add TODO reminder
1 parent f250f3c commit 07619e5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/Hero/MdxHero/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ const MdxHero = (props: MdxHeroProps) => {
1111
const { breadcrumbs, title } = props
1212
return (
1313
<Stack py="8" px="6" spacing="6" w="full">
14-
<Breadcrumbs {...breadcrumbs} />
14+
{/* TODO:
15+
* Recommend the Breadcrumbs component
16+
* not have a spacing style (`mb`) and
17+
* let the parent handle the spacing.
18+
*
19+
* This change would be done when the component is applied
20+
* to prod.
21+
*/}
22+
<Breadcrumbs {...breadcrumbs} mb={0} />
1523
<Heading as="h1" size="2xl">
1624
{title}
1725
</Heading>

0 commit comments

Comments
 (0)