diff options
author | Michael Muré <batolettre@gmail.com> | 2021-05-02 12:06:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 12:06:29 +0200 |
commit | dc875530a41e5a43e5b2932efbb4f957a1bfa9ac (patch) | |
tree | 9f021ce61b776e09dc5bc51fd414d2794b297320 | |
parent | 87df46bd7515e18d7bd35d29da4b70c5d29c3ffc (diff) | |
parent | e74f624c928f40f50f8935aceba5cf96ba48d2f8 (diff) | |
download | git-bug-dc875530a41e5a43e5b2932efbb4f957a1bfa9ac.tar.gz |
Merge pull request #659 from GlancingMind/make-webui-comment-input-resizable
Make comment input vertically resizable
-rw-r--r-- | webui/src/components/CommentInput/CommentInput.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
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), }, |