diff --git a/skins/base/css/templates/Login.css b/skins/base/css/templates/Login.css index b8cab4a4..fe5646f9 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 ee7273b8..ee6bd4ed 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 (