This repository was archived by the owner on Dec 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -9,31 +9,36 @@ const AvatarLarge = styled(Image)`
9
9
width: 100px;
10
10
height: 100px;
11
11
border-radius: 99px;
12
- margin-left:auto;
13
- margin-right:auto;
14
- display:block;
15
- text-align:center;
12
+ @media(max-width:1100px){
13
+ margin-left:auto;
14
+ margin-right:auto;
15
+ display:block;
16
+ text-align:center;
17
+ }
16
18
`
17
19
const Titles = styled . div `
18
- @media(max-width:960px ) {
20
+ @media(max-width:1100px ) {
19
21
text-align:center;
20
22
}
21
23
`
24
+ const Member = styled ( Card ) `
25
+ padding-bottom: 4rem;
26
+ `
22
27
23
28
export default ( ) => (
24
29
< WhoWeArePageQuery
25
30
render = { ( content ) => (
26
31
< Grid spacing = { 4 } container >
27
32
{ content . team . map ( ( member ) => {
28
33
return (
29
- < Grid item xs = { 6 } key = { member . name } >
30
- < Card elevation = { 2 } >
34
+ < Grid item sm = { 6 } xs = { 12 } pb = { 5 } key = { member . name } >
35
+ < Member pb = { 5 } elevation = { 2 } >
31
36
< CardContent >
32
37
< Grid container >
33
- < Grid item sm = { 4 } xs = { 12 } >
38
+ < Grid item md = { 3 } sm = { 12 } xs = { 12 } >
34
39
< AvatarLarge fluid = { member . avatar . childImageSharp . fluid } />
35
40
</ Grid >
36
- < Grid item sm = { 8 } xs = { 12 } >
41
+ < Grid item md = { 9 } sm = { 12 } xs = { 12 } >
37
42
< Titles >
38
43
< Typography gutterBottom variant = 'h5' component = 'h2' >
39
44
{ member . name }
@@ -53,7 +58,7 @@ export default () => (
53
58
</ Grid >
54
59
</ Grid >
55
60
</ CardContent >
56
- </ Card >
61
+ </ Member >
57
62
</ Grid >
58
63
)
59
64
} )
You can’t perform that action at this time.
0 commit comments