diff options
author | Cláudio <claudio.engdist@gmail.com> | 2021-02-02 15:44:22 -0300 |
---|---|---|
committer | Cláudio <claudio.engdist@gmail.com> | 2021-02-02 15:44:22 -0300 |
commit | e4ce918ac77a5fceab2e5ca4efabef77f2f0650d (patch) | |
tree | e3a9a8114704eef647c5b1a552ebc58d9e5720b1 | |
parent | fd8d11030b7cb1ddf772e72dd60dcc054560ef11 (diff) | |
download | git-bug-e4ce918ac77a5fceab2e5ca4efabef77f2f0650d.tar.gz |
Commit for #544
-rw-r--r-- | webui/src/components/BugTitleForm/BugTitleForm.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx index 47a8e2b4..22be9eba 100644 --- a/webui/src/components/BugTitleForm/BugTitleForm.tsx +++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx @@ -43,6 +43,14 @@ const useStyles = makeStyles((theme) => ({ minWidth: 200, marginLeft: theme.spacing(2), }, + greenButton: { + marginLeft: '8px', + backgroundColor: '#2ea44fd9', + color: '#fff', + '&:hover': { + backgroundColor: '#2ea44f', + }, + }, titleInput: { borderRadius: theme.shape.borderRadius, borderColor: fade(theme.palette.primary.main, 0.2), @@ -156,6 +164,14 @@ function BugTitleForm({ bug }: Props) { > Edit </Button> + <Button + className={classes.greenButton} + size="small" + variant="contained" + href="/new" + > + New issue + </Button> </div> </div> ); |