diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-31 21:00:36 +0200 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-07 19:29:52 +0200 |
commit | 637bce7ba73c6a0a3d898b9b5e7ad13dc992ee35 (patch) | |
tree | 1628e496ade1eda18350c9e8b85e77df97c92280 /webui/src/pages/bug | |
parent | c7a441bad6a7ca247d955b63d2ba604435fdaab6 (diff) | |
download | git-bug-637bce7ba73c6a0a3d898b9b5e7ad13dc992ee35.tar.gz |
Fix and improve rendering of markdown elements
- Markdown will no be rendered
- Render text always below an image
- block quotes wont be just indented text
Diffstat (limited to 'webui/src/pages/bug')
-rw-r--r-- | webui/src/pages/bug/CommentForm.tsx | 8 | ||||
-rw-r--r-- | webui/src/pages/bug/Message.tsx | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/webui/src/pages/bug/CommentForm.tsx b/webui/src/pages/bug/CommentForm.tsx index e70348a6..a8ce4319 100644 --- a/webui/src/pages/bug/CommentForm.tsx +++ b/webui/src/pages/bug/CommentForm.tsx @@ -17,14 +17,6 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({ container: { padding: theme.spacing(0, 2, 2, 2), }, - textarea: {}, - tabContent: { - margin: theme.spacing(2, 0), - }, - preview: { - borderBottom: `solid 3px ${theme.palette.grey['200']}`, - minHeight: '5rem', - }, actions: { display: 'flex', gap: '1em', diff --git a/webui/src/pages/bug/Message.tsx b/webui/src/pages/bug/Message.tsx index 2f4cbc59..39b11ccd 100644 --- a/webui/src/pages/bug/Message.tsx +++ b/webui/src/pages/bug/Message.tsx @@ -57,7 +57,8 @@ const useStyles = makeStyles((theme) => ({ }, body: { ...theme.typography.body2, - padding: '0.5rem', + paddingLeft: theme.spacing(1), + paddingRight: theme.spacing(1), }, headerActions: { color: theme.palette.info.contrastText, |