aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components
diff options
context:
space:
mode:
authorCláudio Silva <claudio.engdist@gmail.com>2021-02-02 15:57:06 -0300
committerGitHub <noreply@github.com>2021-02-02 15:57:06 -0300
commite68e9306fe334766e7b23fdd3918f45a1a505fc3 (patch)
treee3a9a8114704eef647c5b1a552ebc58d9e5720b1 /webui/src/components
parentfd8d11030b7cb1ddf772e72dd60dcc054560ef11 (diff)
parente4ce918ac77a5fceab2e5ca4efabef77f2f0650d (diff)
downloadgit-bug-e68e9306fe334766e7b23fdd3918f45a1a505fc3.tar.gz
Merge pull request #2 from claudioantonio/webui_544
Commit for #544
Diffstat (limited to 'webui/src/components')
-rw-r--r--webui/src/components/BugTitleForm/BugTitleForm.tsx16
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>
);