Fix spacing between cancle and save button

This commit is contained in:
Sascha 2021-03-03 18:14:37 +01:00
parent 8e8ca99bd5
commit 50484fb97e
3 changed files with 6 additions and 2 deletions

View File

@ -49,6 +49,9 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: theme.palette.success.main,
color: theme.palette.success.contrastText,
},
saveButton: {
marginRight: theme.spacing(1),
},
}));
interface Props {
@ -117,6 +120,7 @@ function BugTitleForm({ bug }: Props) {
/>
<div className={classes.editButtonContainer}>
<Button
className={classes.saveButton}
size="small"
variant="contained"
type="submit"

View File

@ -112,7 +112,7 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
padding: theme.spacing(2, 3),
},
},
newIssueButton: {
greenButton: {
backgroundColor: theme.palette.success.main,
color: theme.palette.success.contrastText,
},
@ -315,7 +315,7 @@ function ListQuery() {
<IfLoggedIn>
{() => (
<Button
className={classes.newIssueButton}
className={classes.greenButton}
variant="contained"
href="/new"
>