Skip to content

Commit 19b3c50

Browse files
committed
Update to styles
1 parent 7598b05 commit 19b3c50

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

src/client/src/pages/DataView360/DataView360.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
Container,
66
Box,
77
Button,
8+
Grid,
89
Table,
910
TableBody,
1011
TableCell,
@@ -38,13 +39,15 @@ const customStyles = theme => ({
3839
tableRowEven: {
3940
backgroundColor: "#FFFFFF",
4041
"&:hover": {
41-
backgroundColor: "#E6F7FF"
42+
backgroundColor: "#E6F7FF",
43+
cursor: "pointer"
4244
}
4345
},
4446
tableRowOdd: {
4547
backgroundColor: "#E8E8E8",
4648
"&:hover": {
47-
backgroundColor: "#CCEEFF"
49+
backgroundColor: "#CCEEFF",
50+
cursor: "pointer"
4851
}
4952
},
5053
headerCell: {
@@ -182,10 +185,15 @@ class DataView360 extends Component {
182185
this.state.showParticipant === true) && (
183186
<Paper className={styles.main} elevation={1} style={{"padding": "1em"}}>
184187
<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>
189197
<Donations donations={_.get(this.state, 'participantData.donations')}/>
190198
<Adoptions adoptions={_.get(this.state, 'participantData.adoptions')}/>
191199
<Volunteer volunteer={_.get(this.state, 'participantData.shifts')}

src/client/src/pages/DataView360/styles/DataView360.module.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,4 @@
77
grid-row-gap: 0px;
88
background-color: initial;
99
box-shadow: none;
10-
}
11-
.back_button{
12-
position: relative;
13-
display: grid;
14-
margin-left: 60px !important;
15-
margin-right: 60px !important;
16-
margin-top: 10px !important;
17-
max-width: 175px;
18-
max-height: 36.5px;
1910
}

0 commit comments

Comments
 (0)