ref(chat): change initial input size to 1 line
This commit is contained in:
parent
09f881c0f5
commit
dfe5fbb702
|
@ -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%;
|
||||
|
|
|
@ -119,7 +119,6 @@ class ChatInput extends Component<Props, State> {
|
|||
id = 'usermsg'
|
||||
inputRef = { this._setTextAreaRef }
|
||||
maxRows = { 5 }
|
||||
minRows = { 2 }
|
||||
onChange = { this._onMessageChange }
|
||||
onKeyDown = { this._onDetectSubmit }
|
||||
placeholder = { this.props.t('chat.messagebox') }
|
||||
|
|
Loading…
Reference in New Issue