This commit is contained in:
Thomas Nordquist
2019-02-17 12:55:51 +01:00
parent 6d81520ff9
commit aa32349727

View File

@@ -68,7 +68,6 @@ class TreeNodeSubnodes extends React.Component<Props, State> {
} }
if (this.state.alreadyAdded < edges.length) { if (this.state.alreadyAdded < edges.length) {
const delta = Math.min(this.state.alreadyAdded, edges.length - this.state.alreadyAdded)
this.renderMore() this.renderMore()
} }
@@ -102,7 +101,7 @@ const styles = (theme: Theme) => ({
clear: 'both' as 'both', clear: 'both' as 'both',
}, },
listItem: { listItem: {
padding: '0px 0px 0px 8px', padding: `0px 0px 0px ${theme.spacing.unit}px`,
}, },
}) })