From d0505e2f9ab9483f370ba547cb93ce6cc388f241 Mon Sep 17 00:00:00 2001 From: Sascha Date: Sun, 14 Mar 2021 15:44:32 +0100 Subject: Use success.dark for green-button:hover --- webui/src/components/BugTitleForm/BugTitleForm.tsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webui/src/components/BugTitleForm') diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx index c31f8ef7..c3a04349 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), -- cgit From 2c5d3345e2d3b4746619f3adf859321eadf21992 Mon Sep 17 00:00:00 2001 From: Sascha Date: Sun, 14 Mar 2021 16:10:01 +0100 Subject: Change caption of buttons from "Issue" to "Bug" --- webui/src/components/BugTitleForm/BugTitleForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui/src/components/BugTitleForm') diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx index c3a04349..cc9f5267 100644 --- a/webui/src/components/BugTitleForm/BugTitleForm.tsx +++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx @@ -159,7 +159,7 @@ function BugTitleForm({ bug }: Props) { variant="contained" href="/new" > - New issue + New bug )} -- cgit