mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
Fix spacing between cancle and save button
This commit is contained in:
parent
8e8ca99bd5
commit
50484fb97e
Binary file not shown.
@ -49,6 +49,9 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
backgroundColor: theme.palette.success.main,
|
backgroundColor: theme.palette.success.main,
|
||||||
color: theme.palette.success.contrastText,
|
color: theme.palette.success.contrastText,
|
||||||
},
|
},
|
||||||
|
saveButton: {
|
||||||
|
marginRight: theme.spacing(1),
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@ -117,6 +120,7 @@ function BugTitleForm({ bug }: Props) {
|
|||||||
/>
|
/>
|
||||||
<div className={classes.editButtonContainer}>
|
<div className={classes.editButtonContainer}>
|
||||||
<Button
|
<Button
|
||||||
|
className={classes.saveButton}
|
||||||
size="small"
|
size="small"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
type="submit"
|
type="submit"
|
||||||
|
@ -112,7 +112,7 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
|
|||||||
padding: theme.spacing(2, 3),
|
padding: theme.spacing(2, 3),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
newIssueButton: {
|
greenButton: {
|
||||||
backgroundColor: theme.palette.success.main,
|
backgroundColor: theme.palette.success.main,
|
||||||
color: theme.palette.success.contrastText,
|
color: theme.palette.success.contrastText,
|
||||||
},
|
},
|
||||||
@ -315,7 +315,7 @@ function ListQuery() {
|
|||||||
<IfLoggedIn>
|
<IfLoggedIn>
|
||||||
{() => (
|
{() => (
|
||||||
<Button
|
<Button
|
||||||
className={classes.newIssueButton}
|
className={classes.greenButton}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
href="/new"
|
href="/new"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user