From 87df46bd7515e18d7bd35d29da4b70c5d29c3ffc Mon Sep 17 00:00:00 2001 From: Sascha Date: Thu, 29 Apr 2021 21:35:17 +0200 Subject: Fix #656 (#657) Very long words wont any longer overflow over the parent container boundary. Instead a scrollbar will be shown. --- webui/src/components/CommentInput/CommentInput.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'webui/src/components/CommentInput/CommentInput.tsx') diff --git a/webui/src/components/CommentInput/CommentInput.tsx b/webui/src/components/CommentInput/CommentInput.tsx index f12ee8d8..7bf0995d 100644 --- a/webui/src/components/CommentInput/CommentInput.tsx +++ b/webui/src/components/CommentInput/CommentInput.tsx @@ -20,6 +20,7 @@ const useStyles = makeStyles((theme) => ({ margin: theme.spacing(2, 0), }, preview: { + overflow: 'auto', borderBottom: `solid 3px ${theme.palette.grey['200']}`, minHeight: '5rem', }, -- cgit v1.2.3