allow message input textarea height to grow with more text

This commit is contained in:
or-else
2023-03-14 13:53:21 -07:00
parent 43798ea1d9
commit 5ae58fb2a6
7 changed files with 20 additions and 7 deletions
+8 -1
View File
@@ -197,7 +197,7 @@ textarea {
height: 2.5rem;
border-bottom: 1px solid #ccc;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out, height 0s;
}
input[type="text"],
@@ -1508,6 +1508,13 @@ img.channel {
color: #2196f3!important;
}
/* The textarea where the message is entered. */
#send-message-input {
overflow: hidden auto;
min-height: 2.5rem;
max-height: 6rem;
}
/* New chat invitation panel */
.accept-invite-panel {
+1 -1
View File
File diff suppressed because one or more lines are too long