diff --git a/skins/base/css/templates/Login.css b/skins/base/css/templates/Login.css index b8cab4a49..fe5646f9d 100644 --- a/skins/base/css/templates/Login.css +++ b/skins/base/css/templates/Login.css @@ -70,7 +70,7 @@ limitations under the License. opacity: 0.8; } -.mx_Login_advanced_checkbox { +.mx_Login_checkbox { margin-right: 10px; } diff --git a/skins/base/views/templates/Login.js b/skins/base/views/templates/Login.js index ee7273b80..ee6bd4ed1 100644 --- a/skins/base/views/templates/Login.js +++ b/skins/base/views/templates/Login.js @@ -106,12 +106,10 @@ module.exports = React.createClass({ switch (step) { case 'choose_hs': var serverConfigStyle = {}; - if (!this.state.serverConfigVisible) { - serverConfigStyle.display = 'none'; - } + serverConfigStyle.display = this.state.serverConfigVisible ? 'block' : 'none'; return (
- +
- Email:
- Username: {this.getUserIdSuffix()}
- Password:
- Confirm Password:
+
+ {this.getUserIdSuffix()}
+
+
- - Use custom server options (advanced) + +

- +
); @@ -144,10 +143,10 @@ module.exports = React.createClass({ } else { return (
-

Create an account

+

Create an account

{this.componentForStep(this.state.step)} -
{this.state.errorText}
- I already have an account +
{this.state.errorText}
+ I already have an account
); }