diff --git a/src/components/layout/layout.tsx b/src/components/layout/layout.tsx index 1b373559a9c..3fd9576488f 100644 --- a/src/components/layout/layout.tsx +++ b/src/components/layout/layout.tsx @@ -39,6 +39,7 @@ type LayoutProps = { type MainType = { is_static?: boolean padding_top?: string + type?: string } export type ModalPayloadType = { @@ -50,7 +51,8 @@ export type ModalPayloadType = { } const Main = styled.main` - padding-top: ${({ padding_top }) => (padding_top && `${padding_top}rem`) || '8rem'}; + padding-top: ${({ padding_top, type }) => + padding_top ? `${padding_top}rem` : type === 'careers' ? '11rem' : '8rem'}; background: var(--color-white); height: 100%; position: relative; @@ -150,7 +152,7 @@ const Layout = ({ setModalPayload={setModalPayload} >
-
+
{children}
{ } return ( - +