JournalList: get rid of the extra div.

master
Tom Hacohen 7 years ago
parent 123cf589dd
commit cd2a6caf52

@ -56,18 +56,14 @@ class JournalList extends React.Component {
ADDRESS_BOOK: []}); ADDRESS_BOOK: []});
const styles = { const styles = {
holder: {
margin: 'auto',
maxWidth: 400,
padding: 20,
},
paper: { paper: {
margin: 'auto',
maxWidth: 500,
padding: 20, padding: 20,
}, },
}; };
return ( return (
<div style={styles.holder}>
<Paper style={styles.paper} zDepth={2}> <Paper style={styles.paper} zDepth={2}>
<h2>Address Books</h2> <h2>Address Books</h2>
<List> <List>
@ -79,7 +75,6 @@ class JournalList extends React.Component {
{journalMap.CALENDAR} {journalMap.CALENDAR}
</List> </List>
</Paper> </Paper>
</div>
); );
} }
} }

Loading…
Cancel
Save