aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-05-02 12:06:29 +0200
committerGitHub <noreply@github.com>2021-05-02 12:06:29 +0200
commitdc875530a41e5a43e5b2932efbb4f957a1bfa9ac (patch)
tree9f021ce61b776e09dc5bc51fd414d2794b297320 /webui/src/components
parent87df46bd7515e18d7bd35d29da4b70c5d29c3ffc (diff)
parente74f624c928f40f50f8935aceba5cf96ba48d2f8 (diff)
downloadgit-bug-dc875530a41e5a43e5b2932efbb4f957a1bfa9ac.tar.gz
Merge pull request #659 from GlancingMind/make-webui-comment-input-resizable
Make comment input vertically resizable
Diffstat (limited to 'webui/src/components')
-rw-r--r--webui/src/components/CommentInput/CommentInput.tsx6
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),
},