Skip to content

Commit

Permalink
Give the annotations creation companion window appropriate spacing; f…
Browse files Browse the repository at this point in the history
…ixes #54
  • Loading branch information
cbeer committed Jun 15, 2021
1 parent 5e5b361 commit 8b17aa8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/AnnotationCreation.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class AnnotationCreation extends Component {
updateGeometry={this.updateGeometry}
windowId={windowId}
/>
<form onSubmit={this.submitForm}>
<form onSubmit={this.submitForm} className={classes.section}>
<Grid container>
<Grid item xs={12}>
<Typography variant="overline">
Expand Down Expand Up @@ -416,6 +416,12 @@ const styles = (theme) => ({
display: 'flex',
flexWrap: 'wrap',
},
section: {
paddingBottom: theme.spacing(1),
paddingLeft: theme.spacing(2),
paddingRight: theme.spacing(1),
paddingTop: theme.spacing(2),
},
});

AnnotationCreation.propTypes = {
Expand Down

0 comments on commit 8b17aa8

Please sign in to comment.