Skip to content

Commit 027ab6e

Browse files
committed
fix login layout on tall screens; limit dialog box width; wait a full second to re-query new HS details
1 parent 8214ee8 commit 027ab6e

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

‎skins/base/css/common.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ html {
8383
font-size: 16px;
8484
position: relative;
8585
border-radius: 8px;
86+
max-width: 75%;
8687
}
8788

8889
.mx_ImageView {

‎skins/base/css/templates/Login.css‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ limitations under the License.
1717
.mx_Login {
1818
width: 100%;
1919
height: 100%;
20-
display: -webkit-box;
21-
display: -moz-box;
22-
display: -ms-flexbox;
23-
display: -webkit-flex;
24-
display: flex;
25-
-webkit-align-items: center;
26-
align-items: center;
27-
-webkit-justify-content: center;
28-
justify-content: center;
2920
}
3021

3122
.mx_Login h2 {
@@ -37,6 +28,8 @@ limitations under the License.
3728

3829
.mx_Login_box {
3930
width: 300px;
31+
margin: auto;
32+
padding-top: 100px;
4033
}
4134

4235
.mx_Login_logo {

‎skins/base/views/templates/Login.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = React.createClass({
110110
var self = this;
111111
this.updateHsTimeout = setTimeout(function() {
112112
self.onHSChosen();
113-
}, 500);
113+
}, 1000);
114114
},
115115

116116
componentForStep: function(step) {

0 commit comments

Comments
 (0)