Skip to content

Commit 6f21465

Browse files
author
Jin Ying
committed
AboutPage: Resize the max width of TeamComponent
1 parent 3cca8c5 commit 6f21465

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/components/about/PictureWithWriteUpComponent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ class PictureWithWriteUpComponent extends Component {
3737
<Grid item xs={12} sm={6}>
3838
<div className={classes.root}>
3939
<Grid container>
40-
<Grid item sm={4} lg={3} xl={2}>
40+
<Grid item sm={4} lg={3}>
4141
<Image filename={i.node.frontmatter.profilePicture.relativePath} classProps={classes.profileImage} />
4242
</Grid>
4343

44-
<Grid item sm={8} lg={9} xl={10} className={classes.info}>
44+
<Grid item sm={8} lg={9} className={classes.info}>
4545
<Typography variant="body1" className={classes.name}>{i.node.frontmatter.name}</Typography>
4646
<Typography variant="body2" className={classes.title}>{i.node.frontmatter.description}</Typography>
4747
</Grid>

src/components/about/TeamComponent.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ import PictureWithNameComponent from './PictureWithNameComponent'
99

1010
const styles = theme => ({
1111
root: {
12-
position: 'relative',
1312
padding: '3.5rem 2rem 5rem 2rem',
1413
[theme.breakpoints.up('md')]: {
1514
padding: '3.5rem 5rem 5rem 5rem',
16-
},
17-
[theme.breakpoints.up('lg')]: {
18-
padding: '3.5rem 5rem 7rem 5rem',
15+
maxWidth: 1440,
16+
margin: '0 auto'
1917
},
2018
},
2119
titleDiv: {

0 commit comments

Comments
 (0)