diff --git a/res/css/structures/auth/_Login.scss b/res/css/structures/auth/_Login.scss index d4b5e7402c..e65b69163b 100644 --- a/res/css/structures/auth/_Login.scss +++ b/res/css/structures/auth/_Login.scss @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +// TODO: Should be removable once all fields are using Field component .mx_Login_field { width: 100%; box-sizing: border-box; diff --git a/res/css/views/auth/_AuthBody.scss b/res/css/views/auth/_AuthBody.scss index e8f49cdbd2..b65c41946f 100644 --- a/res/css/views/auth/_AuthBody.scss +++ b/res/css/views/auth/_AuthBody.scss @@ -78,7 +78,8 @@ limitations under the License. margin-bottom: 10px; } -.mx_AuthBody_fieldRow > * { +.mx_AuthBody_fieldRow > *, +.mx_AuthBody_fieldRow > .mx_Field { margin: 0 5px; flex: 1; } diff --git a/src/components/views/auth/RegistrationForm.js b/src/components/views/auth/RegistrationForm.js index d031dc7bdd..1a328ef34a 100644 --- a/src/components/views/auth/RegistrationForm.js +++ b/src/components/views/auth/RegistrationForm.js @@ -306,6 +306,8 @@ module.exports = React.createClass({ }, render: function() { + const Field = sdk.getComponent('elements.Field'); + let yourMatrixAccountText = _t('Create your Matrix account'); if (this.props.hsName) { yourMatrixAccountText = _t('Create your Matrix account on %(serverName)s', { @@ -338,14 +340,16 @@ module.exports = React.createClass({ _t("Email (optional)"); emailSection = ( -