1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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>
<div className="mx_UserSettings_profileInputCell">
<EditableText <EditableText
ref="add_threepid_input" ref="add_threepid_input"
className="mx_UserSettings_profileInputCell mx_UserSettings_editable" className="mx_UserSettings_editable"
placeholderClassName="mx_RoomSettings_threepidPlaceholder" placeholderClassName="mx_UserSettings_threepidPlaceholder"
placeholder={ "Add email address" } placeholder={ "Add email address" }
blurToCancel={ false } blurToCancel={ false }
onValueChanged={ this.onAddThreepidClicked } /> onValueChanged={ this.onAddThreepidClicked } />
<div className="mx_RoomSettings_addThreepid"> </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>