aboutsummaryrefslogtreecommitdiffstats
path: root/webui
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-03 18:14:37 +0100
committerSascha <GlancingMind@outlook.com>2021-03-04 20:54:04 +0100
commit50484fb97efd62aceafdbb78ed575e94ff7bb1fd (patch)
tree2070535e477d946df8818817ff84f967e7467524 /webui
parent8e8ca99bd5f72de60f6e0e1b334f33312cab5388 (diff)
downloadgit-bug-50484fb97efd62aceafdbb78ed575e94ff7bb1fd.tar.gz
Fix spacing between cancle and save button
Diffstat (limited to 'webui')
-rw-r--r--webui/src/components/BugTitleForm/.BugTitleForm.tsx.swpbin20480 -> 0 bytes
-rw-r--r--webui/src/components/BugTitleForm/BugTitleForm.tsx4
-rw-r--r--webui/src/pages/list/ListQuery.tsx4
3 files changed, 6 insertions, 2 deletions
diff --git a/webui/src/components/BugTitleForm/.BugTitleForm.tsx.swp b/webui/src/components/BugTitleForm/.BugTitleForm.tsx.swp
deleted file mode 100644
index 125bed11..00000000
--- a/webui/src/components/BugTitleForm/.BugTitleForm.tsx.swp
+++ /dev/null
Binary files differ
diff --git a/webui/src/components/BugTitleForm/BugTitleForm.tsx b/webui/src/components/BugTitleForm/BugTitleForm.tsx
index 97025302..08a1ac90 100644
--- a/webui/src/components/BugTitleForm/BugTitleForm.tsx
+++ b/webui/src/components/BugTitleForm/BugTitleForm.tsx
@@ -49,6 +49,9 @@ const useStyles = makeStyles((theme) => ({
backgroundColor: theme.palette.success.main,
color: theme.palette.success.contrastText,
},
+ saveButton: {
+ marginRight: theme.spacing(1),
+ },
}));
interface Props {
@@ -117,6 +120,7 @@ function BugTitleForm({ bug }: Props) {
/>
<div className={classes.editButtonContainer}>
<Button
+ className={classes.saveButton}
size="small"
variant="contained"
type="submit"
diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx
index 021f70b0..fec7c33b 100644
--- a/webui/src/pages/list/ListQuery.tsx
+++ b/webui/src/pages/list/ListQuery.tsx
@@ -112,7 +112,7 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({
padding: theme.spacing(2, 3),
},
},
- newIssueButton: {
+ greenButton: {
backgroundColor: theme.palette.success.main,
color: theme.palette.success.contrastText,
},
@@ -315,7 +315,7 @@ function ListQuery() {
<IfLoggedIn>
{() => (
<Button
- className={classes.newIssueButton}
+ className={classes.greenButton}
variant="contained"
href="/new"
>