Change summary
webui/src/components/BugTitleForm/BugTitleForm.tsx | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Detailed changes
@@ -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>
);