diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-21 07:13:09 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-21 07:13:09 +0800 |
commit | 01e7850cd3161748bc314901eb1a630503c10046 (patch) | |
tree | 5b47476a21deb67d937e7bf5df218a8f1f1b383b | |
parent | 970e670467277bd6c27fd9bdc18baf3f9fe733f7 (diff) | |
download | dexon-0x-contracts-01e7850cd3161748bc314901eb1a630503c10046.tar.gz dexon-0x-contracts-01e7850cd3161748bc314901eb1a630503c10046.tar.zst dexon-0x-contracts-01e7850cd3161748bc314901eb1a630503c10046.zip |
fix(website): Cleanup jobs section
-rw-r--r-- | packages/website/ts/@next/pages/about/jobs.tsx | 20 | ||||
-rw-r--r-- | packages/website/ts/components/ui/container.tsx | 1 |
2 files changed, 13 insertions, 8 deletions
diff --git a/packages/website/ts/@next/pages/about/jobs.tsx b/packages/website/ts/@next/pages/about/jobs.tsx index 7a1774a2b..cdfb00775 100644 --- a/packages/website/ts/@next/pages/about/jobs.tsx +++ b/packages/website/ts/@next/pages/about/jobs.tsx @@ -7,6 +7,8 @@ import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Link } from 'ts/@next/components/link'; import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Heading, Paragraph } from 'ts/@next/components/text'; +import { Container } from 'ts/components/ui/container'; +import { colors } from 'ts/style/colors'; import { WebsiteBackendJobInfo } from 'ts/types'; import { backendClient } from 'ts/utils/backend_client'; import { constants } from 'ts/utils/constants'; @@ -27,22 +29,24 @@ const Position: React.FunctionComponent<PositionItemProps> = (props: PositionIte const { position } = props; return ( <PositionWrap> - <StyledColumn width="40%"> - <Heading asElement="h3" size="small" fontWeight="400" marginBottom="0"> - <a href={position.href} target="_blank"> - {position.title} - </a> - </Heading> + <StyledColumn width="50%"> + <Container position="relative" top="-3px" paddingRight="12px"> + <Heading asElement="h3" size="small" fontWeight="400" marginBottom="0"> + <a href={position.href} target="_blank"> + {position.title} + </a> + </Heading> + </Container> </StyledColumn> - <StyledColumn width="40%" padding="0 40px 0 0"> + <StyledColumn width="30%" padding="0 40px 0 0"> <Paragraph isMuted={true} marginBottom="0"> {position.location} </Paragraph> </StyledColumn> <StyledColumn width="20%"> - <Paragraph marginBottom="0" textAlign="right"> + <Paragraph marginBottom="0" textAlign="right" color={colors.brandDark} fontWeight={400}> <Link href={position.href} target="_blank"> Apply </Link> diff --git a/packages/website/ts/components/ui/container.tsx b/packages/website/ts/components/ui/container.tsx index ae00851e5..4fa426dbd 100644 --- a/packages/website/ts/components/ui/container.tsx +++ b/packages/website/ts/components/ui/container.tsx @@ -9,6 +9,7 @@ type StringOrNum = string | number; export type ContainerTag = 'div' | 'span'; export interface ContainerProps { + children?: React.ReactNode; margin?: string; marginTop?: StringOrNum; marginBottom?: StringOrNum; |