Skip to content

Commit c9aa8a9

Browse files
committed
override margin on wrap container
1 parent 634c8b3 commit c9aa8a9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/PageHero.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ const PageHero: React.FC<IProps> = ({
9595
{subtitle}
9696
</Text>
9797
{buttons && (
98+
// FIXME: remove the `ul` override once removed the corresponding
99+
// global styles in `src/@chakra-ui/gatsby-plugin/styles.ts`
98100
<Wrap spacing={2} overflow="visible" sx={{ ul: { m: 0 } }}>
99101
{buttons.map((button, idx) => {
100102
if (isButtonLink(button)) {

src/templates/roadmap.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ const RoadmapPage = ({
227227
<Title>{mdx.frontmatter.title}</Title>
228228
<Text>{mdx.frontmatter.description}</Text>
229229
{mdx?.frontmatter?.buttons && (
230-
<Wrap spacing={2} marginBottom={4}>
230+
// FIXME: remove the `ul` override once removed the corresponding
231+
// global styles in `src/@chakra-ui/gatsby-plugin/styles.ts`
232+
<Wrap spacing={2} marginBottom={4} sx={{ ul: { m: 0 } }}>
231233
{mdx.frontmatter.buttons.map((button, idx) => {
232234
if (button?.to) {
233235
return (

0 commit comments

Comments
 (0)