diff --git a/client/src/views/manage-teams/components/ManageTeamProfileFBView.js b/client/src/views/manage-teams/components/ManageTeamProfileFBView.js index bbd902d0b..0ec02f9f2 100644 --- a/client/src/views/manage-teams/components/ManageTeamProfileFBView.js +++ b/client/src/views/manage-teams/components/ManageTeamProfileFBView.js @@ -15,7 +15,7 @@ import log from '../../../utils/log' const styles = theme => ({ fbContainer: { - margin: `0 ${theme.spacing.unit * 3}px ${theme.spacing.unit * 2}px` + margin: `0 0 ${theme.spacing.unit * 2}px` }, card: { display: 'flex', diff --git a/client/src/views/manage-teams/components/ManageTeamProfileView.js b/client/src/views/manage-teams/components/ManageTeamProfileView.js index dc47aec64..68aa3f189 100644 --- a/client/src/views/manage-teams/components/ManageTeamProfileView.js +++ b/client/src/views/manage-teams/components/ManageTeamProfileView.js @@ -65,10 +65,7 @@ const styles = theme => ({ borderTop: '1px solid #CCCCCC', width: '90%', margin: `${theme.spacing.unit * 3}px auto`, - paddingTop: `${theme.spacing.unit * 3}px`, - '& h4': { - padding: `0 ${theme.spacing.unit * 3}px ${theme.spacing.unit * 1}px` - } + paddingTop: `${theme.spacing.unit * 3}px` }, banner: { maxWidth: '100%', diff --git a/client/src/views/teams/components/TeamsDetails.js b/client/src/views/teams/components/TeamsDetails.js index 02418d3fd..b1b1dc6cf 100644 --- a/client/src/views/teams/components/TeamsDetails.js +++ b/client/src/views/teams/components/TeamsDetails.js @@ -8,6 +8,8 @@ import { withStyles } from '@material-ui/core/styles' import { Link } from 'react-router-dom' +import TeamsFBView from './TeamsFBView' + const styles = theme => ({ root: { flexGrow: 1 @@ -41,8 +43,12 @@ const styles = theme => ({ margin: '0 auto', padding: `0 0 ${theme.spacing.unit * 2}px` }, + metaContainer: { + marginTop: `${theme.spacing.unit * 1}px`, + alignSelf: 'stretch', + borderRight: '1px solid #CCCCCC' + }, teamMeta: { - borderRight: '1px solid #CCCCCC', margin: `${theme.spacing.unit * 3}px 0 0`, paddingLeft: `${theme.spacing.unit * 2}px`, textAlign: 'center' @@ -58,6 +64,12 @@ const styles = theme => ({ padding: `0 ${theme.spacing.unit * 3}px 0` } }, + fbContent: { + borderTop: '1px solid #CCCCCC', + width: '90%', + margin: `${theme.spacing.unit * 3}px auto`, + paddingTop: `${theme.spacing.unit * 3}px` + }, banner: { maxWidth: '100%', height: 'auto', @@ -102,7 +114,7 @@ const TeamsDetails = ({ classes, team }) => {