diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-19 15:03:27 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-19 17:53:17 +0100 |
commit | bd316ef9efc5485513d8f2ceeca3938eb0c5b30f (patch) | |
tree | c791c307d5055eec6b0a7d89d0103568255a0716 | |
parent | de9dd698917f905946c5b0e19039e4202375721d (diff) | |
download | git-bug-bd316ef9efc5485513d8f2ceeca3938eb0c5b30f.tar.gz |
Improve readability of accordion summary
-rw-r--r-- | webui/src/pages/bug/MessageHistoryDialog.tsx | 10 |
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> |