Skip to content

Commit

Permalink
Fix footer items overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdralves authored and nuno-aac committed Dec 12, 2023
1 parent 1b9016e commit 2b0c5c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions workspaces/website/src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@ const Column = ({ title, children, color }: ColumnProps) => {
>
{title}
</Heading>
<Stack spacing="1" shouldWrapChildren>
{children}
</Stack>
{children}
</Stack>
);
};
Expand All @@ -190,7 +188,6 @@ const FooterLink = ({ children, href, isExternal }: FooterLinkProps) => {
<Link
fontSize="sm"
px="0"
height="36px"
bg="navbar-link-bg"
color={useColorModeValue("footer-link-fg", "footer-link-fg")}
borderRadius={18}
Expand Down
4 changes: 2 additions & 2 deletions workspaces/website/src/pages/(components)/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Footer = ({ mainMenu, seo }: Props) => {
{mainMenuItem.columns?.map((column, columnIndex) => (
<Box key={columnIndex}>
{column.blocks?.map((block, blockIndex) => (
<Box key={blockIndex}>
<Stack key={blockIndex} spacing="4">
{block.items?.map((item, itemIndex) => {
if (
item.hide_from_footer ||
Expand Down Expand Up @@ -88,7 +88,7 @@ export const Footer = ({ mainMenu, seo }: Props) => {
</FooterComponent.FooterLink>
);
})}
</Box>
</Stack>
))}
</Box>
))}
Expand Down

0 comments on commit 2b0c5c6

Please sign in to comment.