diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 04:40:15 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-13 04:40:15 +0800 |
commit | f1496656607bc2b382b8f378652a2e334f4a5908 (patch) | |
tree | 7fe059fdbf9cb190f5553b1686d7f37c2c031520 /packages/website/ts/pages/jobs/open_positions.tsx | |
parent | e3bb64cf358d293a6d30297013af1ff908bf0d45 (diff) | |
download | dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.gz dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.bz2 dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.lz dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.xz dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.tar.zst dexon-sol-tools-f1496656607bc2b382b8f378652a2e334f4a5908.zip |
Fix lint errors
Diffstat (limited to 'packages/website/ts/pages/jobs/open_positions.tsx')
-rw-r--r-- | packages/website/ts/pages/jobs/open_positions.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/website/ts/pages/jobs/open_positions.tsx b/packages/website/ts/pages/jobs/open_positions.tsx index f6dbc38a0..c43cc43fe 100644 --- a/packages/website/ts/pages/jobs/open_positions.tsx +++ b/packages/website/ts/pages/jobs/open_positions.tsx @@ -13,7 +13,7 @@ import { backendClient } from 'ts/utils/backend_client'; const labelStyle = { fontFamily: 'Roboto Mono', fontSize: 18 }; const HEADER_TEXT = 'Open Positions'; -const LIST_ITEM_MIN_HEIGHT = 80; +const TABLE_ROW_MIN_HEIGHT = 100; export interface OpenPositionsProps { hash: string; @@ -108,7 +108,12 @@ export class OpenPositions extends React.Component<OpenPositionsProps, OpenPosit } private _renderJobInfoTableRow(jobInfo: WebsiteBackendJobInfo): React.ReactNode { return ( - <TableRow key={jobInfo.id} hoverable={true} displayBorder={false} style={{ height: 100, border: 2 }}> + <TableRow + key={jobInfo.id} + hoverable={true} + displayBorder={false} + style={{ height: TABLE_ROW_MIN_HEIGHT, border: 2 }} + > <TableRowColumn colSpan={5} style={labelStyle}> {jobInfo.title} </TableRowColumn> |