diff --git a/client/src/components/DescendentsTree.js b/client/src/components/DescendentsTree.js index ece5479ff..b51e1e123 100644 --- a/client/src/components/DescendentsTree.js +++ b/client/src/components/DescendentsTree.js @@ -35,12 +35,10 @@ import UserProfile from './UserProfile' import PortraitImage from '../img/portrait.jpg' const styles = theme => ({ - childrenCard: { + card: { maxWidth: 150, minWidth: 150, - paddingTop: '30', - marginBottom: 40, - marginLeft: 10 + paddingTop: '30' }, media: { height: 0, @@ -68,11 +66,6 @@ const styles = theme => ({ marginLeft: '10%', marginTop: 25 }, - formTypography: { - width: '80%', - marginLeft: '10%', - marginTop: 40 - }, button: { margin: theme.spacing.unit, marginTop: theme.spacing.unit * 3 @@ -97,11 +90,12 @@ class DescendentsTree extends Component { this.setState(state => ({ open: !state.open })); }; - displayNodeDescendents(node) { + displayNestedListItems(node) { const { classes } = this.props return node.descendents.map(descendent => { - return ( + return ( +