X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e567f0daa13834f980fc326faaed1eadeaebf34f..90786154d588ebb341fc9e3cc8d4954a3c6f8794:/src/components/form-dialog/form-dialog.tsx diff --git a/src/components/form-dialog/form-dialog.tsx b/src/components/form-dialog/form-dialog.tsx index 40050b7656..8c847ca48e 100644 --- a/src/components/form-dialog/form-dialog.tsx +++ b/src/components/form-dialog/form-dialog.tsx @@ -16,22 +16,24 @@ const styles: StyleRulesCallback = theme => ({ }, lastButton: { marginLeft: theme.spacing.unit, - marginRight: "20px", + marginRight: "0", }, formContainer: { display: "flex", flexDirection: "column", - marginTop: "20px", + paddingBottom: "0", }, dialogTitle: { - paddingBottom: "0" + paddingTop: theme.spacing.unit, + paddingBottom: theme.spacing.unit, }, progressIndicator: { position: "absolute", minWidth: "20px", }, dialogActions: { - marginBottom: theme.spacing.unit * 3 + marginBottom: theme.spacing.unit, + marginRight: theme.spacing.unit * 3, } }); @@ -48,11 +50,11 @@ export const FormDialog = withStyles(styles)((props: DialogProjectProps) => -
+ maxWidth='md'> + {props.dialogTitle} @@ -61,6 +63,7 @@ export const FormDialog = withStyles(styles)((props: DialogProjectProps) =>