|
5 | 5 | Container,
|
6 | 6 | Box,
|
7 | 7 | Button,
|
| 8 | + Grid, |
8 | 9 | Table,
|
9 | 10 | TableBody,
|
10 | 11 | TableCell,
|
@@ -38,13 +39,15 @@ const customStyles = theme => ({
|
38 | 39 | tableRowEven: {
|
39 | 40 | backgroundColor: "#FFFFFF",
|
40 | 41 | "&:hover": {
|
41 |
| - backgroundColor: "#E6F7FF" |
| 42 | + backgroundColor: "#E6F7FF", |
| 43 | + cursor: "pointer" |
42 | 44 | }
|
43 | 45 | },
|
44 | 46 | tableRowOdd: {
|
45 | 47 | backgroundColor: "#E8E8E8",
|
46 | 48 | "&:hover": {
|
47 |
| - backgroundColor: "#CCEEFF" |
| 49 | + backgroundColor: "#CCEEFF", |
| 50 | + cursor: "pointer" |
48 | 51 | }
|
49 | 52 | },
|
50 | 53 | headerCell: {
|
@@ -182,10 +185,15 @@ class DataView360 extends Component {
|
182 | 185 | this.state.showParticipant === true) && (
|
183 | 186 | <Paper className={styles.main} elevation={1} style={{"padding": "1em"}}>
|
184 | 187 | <ContactInfo participant={_.get(this.state, 'participantData.contact_details')}/>
|
185 |
| - <Button variant="contained" color="primary" className={styles.back_button} |
186 |
| - onClick={() => { |
187 |
| - this.setState({showParticipant: false, showTable: true, showSearchBar: true }) |
188 |
| - }}>Back to Results</Button> |
| 188 | + <Container> |
| 189 | + <Grid container direction="row" justify="center" alignItems="center" style={{"margin-top": "1em"}}> |
| 190 | + <Button variant="contained" color="primary" |
| 191 | + onClick={() => { |
| 192 | + this.setState({showParticipant: false, showTable: true, showSearchBar: true }) |
| 193 | + }}>Back to Results |
| 194 | + </Button> |
| 195 | + </Grid> |
| 196 | + </Container> |
189 | 197 | <Donations donations={_.get(this.state, 'participantData.donations')}/>
|
190 | 198 | <Adoptions adoptions={_.get(this.state, 'participantData.adoptions')}/>
|
191 | 199 | <Volunteer volunteer={_.get(this.state, 'participantData.shifts')}
|
|
0 commit comments