aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-04-29 21:35:17 +0200
committerGitHub <noreply@github.com>2021-04-29 21:35:17 +0200
commit87df46bd7515e18d7bd35d29da4b70c5d29c3ffc (patch)
treebcbabac425b060eed8b7c563325c2139cbd43845 /webui/src/pages
parentbc96f316ffa7dbf012e560c0b5304b716fb5daff (diff)
downloadgit-bug-87df46bd7515e18d7bd35d29da4b70c5d29c3ffc.tar.gz
Fix #656 (#657)
Very long words wont any longer overflow over the parent container boundary. Instead a scrollbar will be shown.
Diffstat (limited to 'webui/src/pages')
-rw-r--r--webui/src/pages/bug/Message.tsx1
-rw-r--r--webui/src/pages/bug/MessageHistoryDialog.tsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/webui/src/pages/bug/Message.tsx b/webui/src/pages/bug/Message.tsx
index 808bb525..bf779208 100644
--- a/webui/src/pages/bug/Message.tsx
+++ b/webui/src/pages/bug/Message.tsx
@@ -57,6 +57,7 @@ const useStyles = makeStyles((theme) => ({
marginLeft: '0.5rem',
},
body: {
+ overflow: 'auto',
...theme.typography.body2,
paddingLeft: theme.spacing(1),
paddingRight: theme.spacing(1),
diff --git a/webui/src/pages/bug/MessageHistoryDialog.tsx b/webui/src/pages/bug/MessageHistoryDialog.tsx
index 5879a373..15719580 100644
--- a/webui/src/pages/bug/MessageHistoryDialog.tsx
+++ b/webui/src/pages/bug/MessageHistoryDialog.tsx
@@ -111,6 +111,7 @@ const AccordionSummary = withStyles((theme) => ({
const AccordionDetails = withStyles((theme) => ({
root: {
display: 'block',
+ overflow: 'auto',
padding: theme.spacing(2),
},
}))(MuiAccordionDetails);