aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-19 15:03:27 +0100
committerSascha <GlancingMind@outlook.com>2021-03-19 17:53:17 +0100
commitbd316ef9efc5485513d8f2ceeca3938eb0c5b30f (patch)
treec791c307d5055eec6b0a7d89d0103568255a0716
parentde9dd698917f905946c5b0e19039e4202375721d (diff)
downloadgit-bug-bd316ef9efc5485513d8f2ceeca3938eb0c5b30f.tar.gz
Improve readability of accordion summary
-rw-r--r--webui/src/pages/bug/MessageHistoryDialog.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/webui/src/pages/bug/MessageHistoryDialog.tsx b/webui/src/pages/bug/MessageHistoryDialog.tsx
index dc0e09cb..c359873b 100644
--- a/webui/src/pages/bug/MessageHistoryDialog.tsx
+++ b/webui/src/pages/bug/MessageHistoryDialog.tsx
@@ -202,10 +202,12 @@ function MessageHistoryDialog({ bugId, commentId, open, onClose }: Props) {
aria-controls="panel1d-content"
id="panel1d-header"
>
- <Tooltip title={moment(edit.date).format('LLLL')}>
- <Moment date={edit.date} format="on ll" />
- </Tooltip>
- {index === 0 && '• (most recent edit)'}
+ <Typography>
+ <Tooltip title={moment(edit.date).format('LLLL')}>
+ <Moment date={edit.date} format="on ll" />
+ </Tooltip>
+ {index === 0 && '• (most recent edit)'}
+ </Typography>
</AccordionSummary>
<AccordionDetails>{edit.message}</AccordionDetails>
</Accordion>