Skip to content

Commit ad54406

Browse files
committed
vertical center auth
1 parent 3e34e5e commit ad54406

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

client-html/css/style.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ body {
88
}
99

1010
.gradient-cover {
11-
width: 100%;
12-
height: 100%;
11+
width: 100vw;
12+
height: 100vh;
1313
background: linear-gradient(75deg, rgb(40,43,54) 0%, rgb(40,43,54) 50%, rgba(40,43,54,0.8) 100%);
14+
/* Vertical center */
15+
display: table-cell;
16+
vertical-align: middle;
1417
}
1518

1619
.form-card {
1720
width: 50%;
1821
max-width: 350px;
19-
padding: 17.5% 25%;
22+
padding: 0% 25% 0% 25%;
2023
}
2124

2225
.form-title {

0 commit comments

Comments
 (0)