ref(chat): change initial input size to 1 line

This commit is contained in:
Leonard Kim 2019-05-08 09:44:12 -07:00 committed by virtuacoplenny
parent 09f881c0f5
commit dfe5fbb702
2 changed files with 0 additions and 3 deletions

View File

@ -133,8 +133,6 @@
font-size: 15px; font-size: 15px;
line-height: 30px; line-height: 30px;
padding: 5px; padding: 5px;
max-height:150px;
min-height:35px;
overflow-y: auto; overflow-y: auto;
resize: none; resize: none;
width: 100%; width: 100%;

View File

@ -119,7 +119,6 @@ class ChatInput extends Component<Props, State> {
id = 'usermsg' id = 'usermsg'
inputRef = { this._setTextAreaRef } inputRef = { this._setTextAreaRef }
maxRows = { 5 } maxRows = { 5 }
minRows = { 2 }
onChange = { this._onMessageChange } onChange = { this._onMessageChange }
onKeyDown = { this._onDetectSubmit } onKeyDown = { this._onDetectSubmit }
placeholder = { this.props.t('chat.messagebox') } placeholder = { this.props.t('chat.messagebox') }