Skip to content

Commit 8eadf6b

Browse files
authored
Merge pull request matrix-org#5420 from matrix-org/t3chguy/fix/15706
Fix vertical centering of the Homepage and button layout
2 parents 447e87c + f1121c1 commit 8eadf6b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

res/css/structures/_HomePage.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ limitations under the License.
2626

2727
.mx_HomePage_default {
2828
text-align: center;
29+
display: flex;
2930

3031
.mx_HomePage_default_wrapper {
31-
padding: 25vh 0 12px;
32+
margin: auto;
3233
}
3334

3435
img {
@@ -55,15 +56,15 @@ limitations under the License.
5556
}
5657

5758
.mx_HomePage_default_buttons {
58-
margin: 80px auto 0;
59+
margin: 60px auto 0;
5960
width: fit-content;
6061

6162
.mx_AccessibleButton {
6263
padding: 73px 8px 15px; // top: 20px top padding + 40px icon + 13px margin
6364

6465
width: 160px;
6566
height: 132px;
66-
margin: 0 20px;
67+
margin: 20px;
6768
position: relative;
6869
display: inline-block;
6970
border-radius: 8px;

0 commit comments

Comments
 (0)