From e74f624c928f40f50f8935aceba5cf96ba48d2f8 Mon Sep 17 00:00:00 2001 From: Sascha Date: Sat, 1 May 2021 16:12:20 +0200 Subject: Make comment input vertically resizable --- webui/src/components/CommentInput/CommentInput.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webui') diff --git a/webui/src/components/CommentInput/CommentInput.tsx b/webui/src/components/CommentInput/CommentInput.tsx index 7bf0995d..c0e3edfc 100644 --- a/webui/src/components/CommentInput/CommentInput.tsx +++ b/webui/src/components/CommentInput/CommentInput.tsx @@ -15,7 +15,11 @@ const useStyles = makeStyles((theme) => ({ margin: theme.spacing(2, 0), padding: theme.spacing(0, 2, 2, 2), }, - textarea: {}, + textarea: { + '& textarea.MuiInputBase-input': { + resize: 'vertical', + }, + }, tabContent: { margin: theme.spacing(2, 0), }, -- cgit