Fix textareas

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-02-25 22:12:06 +00:00
parent dbf540074d
commit 5bdd61111d
2 changed files with 3 additions and 8 deletions

View file

@ -67,7 +67,7 @@ limitations under the License.
.mx_DevTools_textarea { .mx_DevTools_textarea {
font-size: 12px; font-size: 12px;
max-width: 624px; max-width: 684px;
min-height: 250px; min-height: 250px;
padding: 10px; padding: 10px;
width: 100%; width: 100%;

View file

@ -135,7 +135,6 @@ class SendCustomEvent extends GenericEditor {
<Field id="evContent" label={_t("Event Content")} type="text" className="mx_DevTools_textarea" <Field id="evContent" label={_t("Event Content")} type="text" className="mx_DevTools_textarea"
autoComplete="off" value={this.state.evContent} onChange={this._onChange} element="textarea" /> autoComplete="off" value={this.state.evContent} onChange={this._onChange} element="textarea" />
</div> </div>
<div className="mx_Dialog_buttons"> <div className="mx_Dialog_buttons">
<button onClick={this.onBack}>{ _t('Back') }</button> <button onClick={this.onBack}>{ _t('Back') }</button>
@ -215,12 +214,8 @@ class SendAccountData extends GenericEditor {
{ this.textInput('eventType', _t('Event Type')) } { this.textInput('eventType', _t('Event Type')) }
<br /> <br />
<div className="mx_DevTools_inputLabelCell"> <Field id="evContent" label={_t("Event Content")} type="text" className="mx_DevTools_textarea"
<label htmlFor="evContent"> { _t('Event Content') } </label> autoComplete="off" value={this.state.evContent} onChange={this._onChange} element="textarea" />
</div>
<div>
<textarea id="evContent" onChange={this._onChange} value={this.state.evContent} className="mx_DevTools_textarea" />
</div>
</div> </div>
<div className="mx_Dialog_buttons"> <div className="mx_Dialog_buttons">
<button onClick={this.onBack}>{ _t('Back') }</button> <button onClick={this.onBack}>{ _t('Back') }</button>