fix login layout on tall screens; limit dialog box width; wait a full second to re-query new HS details

This commit is contained in:
Matthew Hodgson 2015-09-01 01:55:13 +03:00
parent 8214ee8fad
commit 027ab6ee99
3 changed files with 4 additions and 10 deletions

View File

@ -83,6 +83,7 @@ html {
font-size: 16px; font-size: 16px;
position: relative; position: relative;
border-radius: 8px; border-radius: 8px;
max-width: 75%;
} }
.mx_ImageView { .mx_ImageView {

View File

@ -17,15 +17,6 @@ limitations under the License.
.mx_Login { .mx_Login {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
} }
.mx_Login h2 { .mx_Login h2 {
@ -37,6 +28,8 @@ limitations under the License.
.mx_Login_box { .mx_Login_box {
width: 300px; width: 300px;
margin: auto;
padding-top: 100px;
} }
.mx_Login_logo { .mx_Login_logo {

View File

@ -110,7 +110,7 @@ module.exports = React.createClass({
var self = this; var self = this;
this.updateHsTimeout = setTimeout(function() { this.updateHsTimeout = setTimeout(function() {
self.onHSChosen(); self.onHSChosen();
}, 500); }, 1000);
}, },
componentForStep: function(step) { componentForStep: function(step) {