浏览代码

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

master
Leonard Kim 6 年前
父节点
当前提交
dfe5fbb702
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0
    2
      css/_chat.scss
  2. 0
    1
      react/features/chat/components/web/ChatInput.js

+ 0
- 2
css/_chat.scss 查看文件

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

+ 0
- 1
react/features/chat/components/web/ChatInput.js 查看文件

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

正在加载...
取消
保存