From 0ad23d0e24d876ff9bcd6b5d83c1514de132522f Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 4 Sep 2019 20:03:56 +0200 Subject: webui: Fix bug listing style --- webui/src/list/BugRow.js | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'webui/src/list/BugRow.js') diff --git a/webui/src/list/BugRow.js b/webui/src/list/BugRow.js index 4444dbc9..7b601916 100644 --- a/webui/src/list/BugRow.js +++ b/webui/src/list/BugRow.js @@ -38,21 +38,34 @@ const useStyles = makeStyles(theme => ({ cell: { display: 'flex', alignItems: 'center', + padding: theme.spacing(1), '& a': { textDecoration: 'none', }, }, status: { - margin: 10, + margin: theme.spacing(1, 2), }, expand: { width: '100%', + lineHeight: '20px', }, title: { display: 'inline', + color: theme.palette.text.primary, + fontSize: '1.3rem', + fontWeight: 500, + }, + details: { + ...theme.typography.textSecondary, + lineHeight: '1.5rem', + color: theme.palette.text.secondary, }, labels: { paddingLeft: theme.spacing(1), + '& > *': { + display: 'inline-block', + }, }, })); @@ -65,9 +78,7 @@ function BugRow({ bug }) {
- - {bug.title} - + {bug.title} {bug.labels.length > 0 && ( {bug.labels.map(l => ( @@ -77,11 +88,11 @@ function BugRow({ bug }) { )}
- +
{bug.humanId} opened by {bug.author.displayName} - +
-- cgit