diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-21 16:53:00 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-21 17:46:17 +0100 |
commit | f752dd54806122ea9d77b6807246897eb2656f0e (patch) | |
tree | c1c26f6e4c2387c5a39a0a6f19c5fe753f001934 /webui/src/pages | |
parent | 00fbd0a2c861cfa873aad28ad78f69caf81e0e3c (diff) | |
download | git-bug-f752dd54806122ea9d77b6807246897eb2656f0e.tar.gz |
Remove BackToList button from BugPage
Diffstat (limited to 'webui/src/pages')
-rw-r--r-- | webui/src/pages/bug/Bug.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/webui/src/pages/bug/Bug.tsx b/webui/src/pages/bug/Bug.tsx index bde8c5dd..3b6b61e0 100644 --- a/webui/src/pages/bug/Bug.tsx +++ b/webui/src/pages/bug/Bug.tsx @@ -2,7 +2,6 @@ import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; -import BackToListButton from '../../components/BackToListButton'; import BugTitleForm from 'src/components/BugTitleForm/BugTitleForm'; import IfLoggedIn from 'src/components/IfLoggedIn/IfLoggedIn'; import Label from 'src/components/Label'; @@ -16,13 +15,13 @@ import TimelineQuery from './TimelineQuery'; */ const useStyles = makeStyles((theme) => ({ main: { - maxWidth: 1200, + maxWidth: 1000, margin: 'auto', marginTop: theme.spacing(4), }, header: { marginRight: theme.spacing(2), - marginLeft: theme.spacing(3) + 205, + marginLeft: theme.spacing(3) + 40, }, title: { ...theme.typography.h5, @@ -43,10 +42,6 @@ const useStyles = makeStyles((theme) => ({ marginRight: theme.spacing(2), minWidth: 400, }, - leftSidebar: { - marginTop: theme.spacing(2), - marginRight: theme.spacing(2), - }, rightSidebar: { marginTop: theme.spacing(2), flex: '0 0 200px', @@ -87,9 +82,6 @@ function Bug({ bug }: Props) { <BugTitleForm bug={bug} /> </div> <div className={classes.container}> - <div className={classes.leftSidebar}> - <BackToListButton /> - </div> <div className={classes.timeline}> <TimelineQuery id={bug.id} /> <IfLoggedIn> |