File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import Header, {AdminHeader} from "./components/Header";
7
7
import HomePage from './pages/Home' ;
8
8
import Admin from './pages/Admin' ;
9
9
import Search360 from './pages/DataView360/Search/Search' ;
10
- import View360 from './pages/DataView360/View/View ' ;
10
+ import View360 from './pages/DataView360/View/View360 ' ;
11
11
import About from './pages/About' ;
12
12
import Login from './components/Login/Login' ;
13
13
import RefreshDlg from './components/RefreshDlg' ;
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ const customStyles = theme => ({
26
26
color : '#fff' ,
27
27
} ,
28
28
stickyContainer : {
29
- position : 'fixed' ,
30
- paddingTop : 25 ,
31
- left : '-25em'
29
+ position : 'sticky' ,
30
+ top : 100
31
+ } ,
32
+ tablesCol : {
33
+ minWidth : '600px'
32
34
}
33
35
} ) ;
34
36
@@ -61,7 +63,7 @@ class View360 extends Component {
61
63
'Content-Type' : 'application/json' ,
62
64
'Authorization' : 'Bearer ' + this . props . access_token
63
65
}
64
- } ) ;
66
+ } ) ;
65
67
response = await response . json ( ) ;
66
68
67
69
this . setState ( {
@@ -109,23 +111,24 @@ class View360 extends Component {
109
111
</ Grid >
110
112
</ Grid >
111
113
< Grid container direction = { "row" } spacing = { 3 } >
112
- < Grid item sm = { 4 } >
114
+ < Grid item xs = { 4 } >
113
115
< Grid className = { classes . stickyContainer } container direction = { "column" }
114
116
alignItems = { "center" } >
115
117
< Grid item >
116
118
< ContactInfo
117
119
participant = { _ . get ( this . state , 'participantData.contact_details' ) } />
118
120
</ Grid >
119
121
< Grid item style = { { "padding" : "1em" } } >
120
- < Button elevation = { 2 } variant = "contained" color = "primary"
122
+ < Button style = { { "minWidth" : "180" } } elevation = { 2 } variant = "contained"
123
+ color = "primary"
121
124
onClick = { ( ) => {
122
125
this . onBackClick ( )
123
126
} } > Back to Results
124
127
</ Button >
125
128
</ Grid >
126
129
</ Grid >
127
130
</ Grid >
128
- < Grid item sm >
131
+ < Grid item xs = { 8 } className = { classes . tablesCol } >
129
132
< Grid container direction = "column" style = { { "marginTop" : "1em" } } >
130
133
< Donations donations = { _ . get ( this . state , 'participantData.donations' ) } />
131
134
< Adoptions adoptions = { _ . get ( this . state , 'participantData.adoptions' ) }
You can’t perform that action at this time.
0 commit comments