diff --git a/packages/app/src/components/contact/contact-page-item-links.tsx b/packages/app/src/components/contact/contact-page-item-links.tsx index 906f9c816d..6f24a26640 100644 --- a/packages/app/src/components/contact/contact-page-item-links.tsx +++ b/packages/app/src/components/contact/contact-page-item-links.tsx @@ -12,7 +12,7 @@ interface ContactPageItemLinksProps { export const ContactPageItemLinks = ({ links }: ContactPageItemLinksProps) => { return ( - + {links.map(({ id, titleAboveLink, href, label, linkType }) => (
{titleAboveLink && ( @@ -21,33 +21,19 @@ export const ContactPageItemLinks = ({ links }: ContactPageItemLinksProps) => { )} - +
))} -
+ ); }; -const LinkListItemContainer = styled(Box)` - margin-top: ${space[3]}; - - @media ${mediaQueries.md} { - display: flex; - gap: ${space[3]}; - } -`; - -interface LinkListItemProps { - hasTitle: boolean; -} - -const LinkListItem = styled.div` +const LinkListItem = styled.div` border-radius: ${radii[1]}px; border: 1px solid ${colors.gray3}; display: block; - margin-top: ${({ hasTitle }) => (hasTitle ? space[3] : undefined)}; padding: ${space[2]} ${space[3]}; transition: all 0.2s; @@ -59,7 +45,7 @@ const LinkListItem = styled.div` } } - @media ${mediaQueries.md} { + @media ${mediaQueries.sm} { display: inline-block; } `;