From a26ff35a7b35dfbdaea75f719d17d50bfd7029e5 Mon Sep 17 00:00:00 2001 From: alt0 Date: Fri, 9 Sep 2022 15:00:24 +0800 Subject: [PATCH] fix: landing page style & duplicate contact us --- apps/venus/src/app/IndexPage/Alternatives.tsx | 8 ++--- apps/venus/src/app/IndexPage/IndexPage.tsx | 8 ++--- apps/venus/src/app/common/Header.tsx | 29 +------------------ 3 files changed, 9 insertions(+), 36 deletions(-) diff --git a/apps/venus/src/app/IndexPage/Alternatives.tsx b/apps/venus/src/app/IndexPage/Alternatives.tsx index 17403e01c9..4c7645a9d8 100644 --- a/apps/venus/src/app/IndexPage/Alternatives.tsx +++ b/apps/venus/src/app/IndexPage/Alternatives.tsx @@ -7,7 +7,7 @@ import { useMediaQuery } from '@mui/material'; const Alternatives = styled(Box)<{ width: string }>(({ width }) => ({ position: 'relative', - width: '20em', + width: '24em', height: '128px', transform: 'translateY(-8px)', overflowY: 'hidden', @@ -21,7 +21,7 @@ const Alternatives = styled(Box)<{ width: string }>(({ width }) => ({ height: 'inherit', position: 'absolute', left: '0', - top: '0', + top: '-23px', paddingTop: '22px', lineHeight: '96px', '@media (max-width: 1024px)': { @@ -105,7 +105,7 @@ export const AlternativesProduct = () => { )} > { }} > - + { window.open(href); }} /> - { - window.open(href); - }} - />