Merge pull request #5420 from matrix-org/t3chguy/fix/15706

Fix vertical centering of the Homepage and button layout
pull/21833/head
Michael Telatynski 2020-11-16 17:17:57 +00:00 committed by GitHub
commit 8eadf6b183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -26,9 +26,10 @@ limitations under the License.
.mx_HomePage_default { .mx_HomePage_default {
text-align: center; text-align: center;
display: flex;
.mx_HomePage_default_wrapper { .mx_HomePage_default_wrapper {
padding: 25vh 0 12px; margin: auto;
} }
img { img {
@ -55,7 +56,7 @@ limitations under the License.
} }
.mx_HomePage_default_buttons { .mx_HomePage_default_buttons {
margin: 80px auto 0; margin: 60px auto 0;
width: fit-content; width: fit-content;
.mx_AccessibleButton { .mx_AccessibleButton {
@ -63,7 +64,7 @@ limitations under the License.
width: 160px; width: 160px;
height: 132px; height: 132px;
margin: 0 20px; margin: 20px;
position: relative; position: relative;
display: inline-block; display: inline-block;
border-radius: 8px; border-radius: 8px;