improve settings layout and fix FF bugs

This commit is contained in:
Matthew Hodgson 2016-01-24 18:15:08 +00:00
parent bb0051f24f
commit bc60435750

View file

@ -275,14 +275,16 @@ module.exports = React.createClass({
<div className="mx_UserSettings_profileTableRow" key="new"> <div className="mx_UserSettings_profileTableRow" key="new">
<div className="mx_UserSettings_profileLabelCell"> <div className="mx_UserSettings_profileLabelCell">
</div> </div>
<EditableText <div className="mx_UserSettings_profileInputCell">
ref="add_threepid_input" <EditableText
className="mx_UserSettings_profileInputCell mx_UserSettings_editable" ref="add_threepid_input"
placeholderClassName="mx_RoomSettings_threepidPlaceholder" className="mx_UserSettings_editable"
placeholder={ "Add email address" } placeholderClassName="mx_UserSettings_threepidPlaceholder"
blurToCancel={ false } placeholder={ "Add email address" }
onValueChanged={ this.onAddThreepidClicked } /> blurToCancel={ false }
<div className="mx_RoomSettings_addThreepid"> onValueChanged={ this.onAddThreepidClicked } />
</div>
<div className="mx_UserSettings_addThreepid">
<img src="img/plus.svg" width="14" height="14" alt="Add" onClick={ this.onAddThreepidClicked }/> <img src="img/plus.svg" width="14" height="14" alt="Add" onClick={ this.onAddThreepidClicked }/>
</div> </div>
</div> </div>