diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 06:54:27 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 06:54:27 +0800 |
commit | 2794d64d3e920cd30ed0603becffc74b17c22218 (patch) | |
tree | 69800b025011f3c7ba99fe9ff35d8cc24ba15b7a /packages/website/ts/pages/jobs | |
parent | 9d9341901f2b5b14e3a29a6bdc18a505d9b361aa (diff) | |
download | dexon-0x-contracts-2794d64d3e920cd30ed0603becffc74b17c22218.tar.gz dexon-0x-contracts-2794d64d3e920cd30ed0603becffc74b17c22218.tar.zst dexon-0x-contracts-2794d64d3e920cd30ed0603becffc74b17c22218.zip |
Use Text in OpenPositions
Diffstat (limited to 'packages/website/ts/pages/jobs')
-rw-r--r-- | packages/website/ts/pages/jobs/open_positions.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx index c43cc43fe..79b51c0d1 100644 --- a/packages/website/ts/pages/jobs/open_positions.tsx +++ b/packages/website/ts/pages/jobs/open_positions.tsx @@ -4,6 +4,7 @@ import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowCol import * as React from 'react'; import { Retry } from 'ts/components/ui/retry'; +import { Text } from 'ts/components/ui/text'; import { HeaderItem } from 'ts/pages/jobs/list/header_item'; import { ListItem } from 'ts/pages/jobs/list/list_item'; import { colors } from 'ts/style/colors'; @@ -171,10 +172,12 @@ export interface JobInfoListItemProps { const PlainJobInfoListItem: React.StatelessComponent<JobInfoListItemProps> = ({ title, description, onClick }) => ( <div className="mb3" onClick={onClick}> <ListItem> - <div style={{ fontWeight: 'bold', fontSize: 16, color: colors.mediumBlue }}>{title + ' ›'}</div> - <div className="pt1" style={{ fontSize: 16, color: colors.darkGrey }}> + <Text fontWeight="bold" fontSize="16px" fontColor={colors.mediumBlue}> + {title + ' ›'} + </Text> + <Text className="pt1" fontSize="16px" fontColor={colors.darkGrey}> {description} - </div> + </Text> </ListItem> </div> ); |