diff options
author | Cláudio Silva <claudio.engdist@gmail.com> | 2021-02-02 15:57:06 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 15:57:06 -0300 |
commit | e68e9306fe334766e7b23fdd3918f45a1a505fc3 (patch) | |
tree | e3a9a8114704eef647c5b1a552ebc58d9e5720b1 /webui/src/components/BugTitleForm | |
parent | fd8d11030b7cb1ddf772e72dd60dcc054560ef11 (diff) | |
parent | e4ce918ac77a5fceab2e5ca4efabef77f2f0650d (diff) | |
download | git-bug-e68e9306fe334766e7b23fdd3918f45a1a505fc3.tar.gz |
Merge pull request #2 from claudioantonio/webui_544
Commit for #544
Diffstat (limited to 'webui/src/components/BugTitleForm')
-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> ); |