Skip to content

Commit f628591

Browse files
committed
fix login page vertical scroll and centering
1 parent 9cbd4ae commit f628591

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/skins/vector/css/templates/Login.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ limitations under the License.
1717
.mx_Login {
1818
width: 100%;
1919
height: 100%;
20+
21+
display: -webkit-box;
22+
display: -moz-box;
23+
display: -ms-flexbox;
24+
display: -webkit-flex;
25+
display: flex;
26+
-webkit-align-items: center;
27+
align-items: center;
28+
-webkit-justify-content: center;
29+
justify-content: center;
30+
31+
overflow: auto;
2032
}
2133

2234
.mx_Login h2 {
@@ -28,8 +40,8 @@ limitations under the License.
2840

2941
.mx_Login_box {
3042
width: 300px;
43+
min-height: 450px;
3144
margin: auto;
32-
padding-top: 100px;
3345
}
3446

3547
.mx_Login_logo {

0 commit comments

Comments
 (0)