From dfe5fbb702a5abc61d69a6c02fe85387b68a7b55 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Wed, 8 May 2019 09:44:12 -0700 Subject: [PATCH] ref(chat): change initial input size to 1 line --- css/_chat.scss | 2 -- react/features/chat/components/web/ChatInput.js | 1 - 2 files changed, 3 deletions(-) diff --git a/css/_chat.scss b/css/_chat.scss index ef5fb61e64..7f52d53e2b 100644 --- a/css/_chat.scss +++ b/css/_chat.scss @@ -133,8 +133,6 @@ font-size: 15px; line-height: 30px; padding: 5px; - max-height:150px; - min-height:35px; overflow-y: auto; resize: none; width: 100%; diff --git a/react/features/chat/components/web/ChatInput.js b/react/features/chat/components/web/ChatInput.js index 897073edff..997641d0dc 100644 --- a/react/features/chat/components/web/ChatInput.js +++ b/react/features/chat/components/web/ChatInput.js @@ -119,7 +119,6 @@ class ChatInput extends Component { id = 'usermsg' inputRef = { this._setTextAreaRef } maxRows = { 5 } - minRows = { 2 } onChange = { this._onMessageChange } onKeyDown = { this._onDetectSubmit } placeholder = { this.props.t('chat.messagebox') }