From 5c45485790732b21b3c717454218e6b80f573085 Mon Sep 17 00:00:00 2001 From: rlacko <rlacko@sch.bme.hu> Date: Wed, 29 Jan 2020 16:53:31 +0100 Subject: [PATCH] responsive applications page --- src/components/pages/Applications.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/pages/Applications.js b/src/components/pages/Applications.js index 6fac333..50f0133 100644 --- a/src/components/pages/Applications.js +++ b/src/components/pages/Applications.js @@ -14,7 +14,7 @@ class Applications extends Component { return this.props.profiles.map((profile) => { return ( <Table.Row> - <Table.Cell> + <Table.Cell textAlign='center'> <Link to={`applicant/${profile.id}`}> {profile.full_name} </Link> @@ -47,7 +47,7 @@ class Applications extends Component { <Label color='red'>Nem jelentkezett</Label> </Table.Cell> } - <Table.Cell> + <Table.Cell textAlign='center'> <ConfirmModal button = {<Button color='blue' @@ -67,12 +67,9 @@ class Applications extends Component { render() { return ( <Container - textAlign='center' - style={{ - padding: '80px' - }} + textAlign='center' style={{paddingTop: '1em', paddingBottom: '3em'}} > - <Table color='blue' celled selectable compact> + <Table color='blue' unstackable celled selectable compact> <Table.Header> <Table.Row> <Table.HeaderCell>Jelentkezettek</Table.HeaderCell> -- GitLab