aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Bug.js
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2019-03-30 20:48:19 +0100
committerQuentin Gliech <quentingliech@gmail.com>2019-03-30 20:50:59 +0100
commit22089b5e628f1356e517d24d0346a8ec2def97fc (patch)
tree9e9a12e015433500042b1acfbac3e8ee2b4eb2f4 /webui/src/bug/Bug.js
parent850b9db8744c47b3f42b877078678f62ce77e38d (diff)
downloadgit-bug-22089b5e628f1356e517d24d0346a8ec2def97fc.tar.gz
webui: Rework timeline style
Diffstat (limited to 'webui/src/bug/Bug.js')
-rw-r--r--webui/src/bug/Bug.js24
1 files changed, 14 insertions, 10 deletions
diff --git a/webui/src/bug/Bug.js b/webui/src/bug/Bug.js
index 496d0c4f..9b5f84ad 100644
--- a/webui/src/bug/Bug.js
+++ b/webui/src/bug/Bug.js
@@ -9,29 +9,32 @@ import Label from '../Label';
const styles = theme => ({
main: {
- maxWidth: 600,
+ maxWidth: 800,
margin: 'auto',
marginTop: theme.spacing.unit * 4,
},
- header: {},
+ header: {
+ marginLeft: theme.spacing.unit + 40,
+ },
title: {
...theme.typography.headline,
},
id: {
...theme.typography.subheading,
- marginLeft: 15,
+ marginLeft: theme.spacing.unit,
},
container: {
display: 'flex',
- marginBottom: 30,
+ marginBottom: theme.spacing.unit,
},
timeline: {
- width: '70%',
- marginTop: 20,
- marginRight: 20,
+ flex: 1,
+ marginTop: theme.spacing.unit * 2,
+ marginRight: theme.spacing.unit * 2,
},
sidebar: {
- width: '30%',
+ marginTop: theme.spacing.unit * 2,
+ flex: '0 0 200px',
},
labelList: {
listStyle: 'none',
@@ -39,7 +42,8 @@ const styles = theme => ({
margin: 0,
},
label: {
- margin: '4px 0',
+ marginTop: theme.spacing.unit,
+ marginBottom: theme.spacing.unit,
'& > *': {
display: 'block',
},
@@ -54,7 +58,7 @@ const Bug = ({ bug, classes }) => (
<Typography color={'textSecondary'}>
<Author author={bug.author} />
- <span> opened this bug </span>
+ {' opened this bug '}
<Date date={bug.createdAt} />
</Typography>
</div>