From e408ca8a2851d44ae105bf4e226b05eff609950e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sun, 16 Feb 2020 02:04:57 +0100 Subject: [PATCH] webui: minor styling of the timeline events --- webui/src/pages/bug/LabelChange.tsx | 2 +- webui/src/pages/bug/SetStatus.tsx | 2 +- webui/src/pages/bug/SetTitle.tsx | 17 ++++++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/webui/src/pages/bug/LabelChange.tsx b/webui/src/pages/bug/LabelChange.tsx index 764947eef7527e8fd617d92759a78920f505bfdb..93fa8a32eb9b1c491d171b4b53279b3999f5ddbf 100644 --- a/webui/src/pages/bug/LabelChange.tsx +++ b/webui/src/pages/bug/LabelChange.tsx @@ -10,7 +10,7 @@ import { LabelChangeFragment } from './LabelChangeFragment.generated'; const useStyles = makeStyles(theme => ({ main: { - ...theme.typography.body1, + ...theme.typography.body2, marginLeft: theme.spacing(1) + 40, }, author: { diff --git a/webui/src/pages/bug/SetStatus.tsx b/webui/src/pages/bug/SetStatus.tsx index 251abf69da4ca07e077140a365537d27a0f8bbd9..413f764de37781275259ac7d0242502e3391c41c 100644 --- a/webui/src/pages/bug/SetStatus.tsx +++ b/webui/src/pages/bug/SetStatus.tsx @@ -9,7 +9,7 @@ import { SetStatusFragment } from './SetStatusFragment.generated'; const useStyles = makeStyles(theme => ({ main: { - ...theme.typography.body1, + ...theme.typography.body2, marginLeft: theme.spacing(1) + 40, }, })); diff --git a/webui/src/pages/bug/SetTitle.tsx b/webui/src/pages/bug/SetTitle.tsx index 304fd2e25eaebd4b209e2915a49c524d3f7a5e16..64b97517bd4efae36e9e73c53d0ed70a3fd42711 100644 --- a/webui/src/pages/bug/SetTitle.tsx +++ b/webui/src/pages/bug/SetTitle.tsx @@ -9,10 +9,17 @@ import { SetTitleFragment } from './SetTitleFragment.generated'; const useStyles = makeStyles(theme => ({ main: { - ...theme.typography.body1, + ...theme.typography.body2, marginLeft: theme.spacing(1) + 40, }, - bold: { + author: { + fontWeight: 'bold', + }, + before: { + fontWeight: 'bold', + textDecoration: 'line-through', + }, + after: { fontWeight: 'bold', }, })); @@ -25,11 +32,11 @@ function SetTitle({ op }: Props) { const classes = useStyles(); return (
- + changed the title from - {op.was} + {op.was} to - {op.title} + {op.title} 
);