From 2787f95c8741ab4add0393f16058d64abf2496db Mon Sep 17 00:00:00 2001 From: VWSCoronaDashboard29 Date: Fri, 6 Oct 2023 10:56:48 +0200 Subject: [PATCH] Revert "feat(contact-page-redesign): Implemented test feedback. (#4882)" This reverts commit f1c7038b51de829228d34ea2a99b53f697c8c7af. --- .../contact/contact-page-item-links.tsx | 24 ++++--------------- 1 file changed, 5 insertions(+), 19 deletions(-) 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; } `;