aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-18 19:51:03 +0100
committerGitHub <noreply@github.com>2021-03-18 19:51:03 +0100
commite0a7088ba0dca77f616af211a1f9e2158af502c3 (patch)
tree99b8665aaee65d0e7268ff0c72b04403182852b4 /webui/src/components
parent501e1678b2af280300a4c35d762c54379e3142e4 (diff)
parent2c5d3345e2d3b4746619f3adf859321eadf21992 (diff)
downloadgit-bug-e0a7088ba0dca77f616af211a1f9e2158af502c3.tar.gz
Merge pull request #599 from GlancingMind/upstream-fix-color-of-green-buttons
WebUI: Fix hover-color of green buttons and caption
Diffstat (limited to 'webui/src/components')
-rw-r--r--webui/src/components/BugTitleForm/BugTitleForm.tsx6
-rw-r--r--webui/src/components/CloseBugButton/CloseBugButton.tsx2
-rw-r--r--webui/src/components/ReopenBugButton/ReopenBugButton.tsx2
3 files changed, 7 insertions, 3 deletions
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx
index c31f8ef7..cc9f5267 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -43,6 +43,10 @@ const useStyles = makeStyles((theme) => ({
marginLeft: theme.spacing(1),
backgroundColor: theme.palette.success.main,
color: theme.palette.success.contrastText,
+ '&:hover': {
+ backgroundColor: theme.palette.success.dark,
+ color: theme.palette.primary.contrastText,
+ },
},
saveButton: {
marginRight: theme.spacing(1),
@@ -155,7 +159,7 @@ function BugTitleForm({ bug }: Props) {
variant="contained"
href="/new"
>
- New issue
+ New bug
</Button>
</div>
)}
diff --git a/webui/src/components/CloseBugButton/CloseBugButton.tsx b/webui/src/components/CloseBugButton/CloseBugButton.tsx
index 8d397c23..9f098483 100644
--- a/webui/src/components/CloseBugButton/CloseBugButton.tsx
+++ b/webui/src/components/CloseBugButton/CloseBugButton.tsx
@@ -57,7 +57,7 @@ function CloseBugButton({ bug, disabled }: Props) {
disabled={bug.status === 'CLOSED' || disabled}
startIcon={<ErrorOutlineIcon className={classes.closeIssueIcon} />}
>
- Close issue
+ Close bug
</Button>
</div>
);
diff --git a/webui/src/components/ReopenBugButton/ReopenBugButton.tsx b/webui/src/components/ReopenBugButton/ReopenBugButton.tsx
index 195ca512..e3e792fc 100644
--- a/webui/src/components/ReopenBugButton/ReopenBugButton.tsx
+++ b/webui/src/components/ReopenBugButton/ReopenBugButton.tsx
@@ -46,7 +46,7 @@ function ReopenBugButton({ bug, disabled }: Props) {
onClick={() => openBugAction()}
disabled={bug.status === 'OPEN' || disabled}
>
- Reopen issue
+ Reopen bug
</Button>
</div>
);