From a6683cec67528cebf2cabf7d838bee6e38ef4e1e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 28 May 2020 18:49:36 +0100 Subject: [PATCH 1/3] Get rid of welcome.html's Chat with Riot Bot button Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/welcome.html | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/res/welcome.html b/res/welcome.html index e9f1514a..3b3b0187 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -96,19 +96,10 @@ h1::after { color: #2e2f32 !important; } -.mx_ButtonHeadline { - margin-bottom: 14px; -} - .mx_ButtonLabel { margin-left: 20px; } -.mx_ButtonWrapperText { - font-size: 13px; - margin-bottom: 10px; -} - .mx_Header_title { font-size: 24px; font-weight: 600; @@ -158,6 +149,11 @@ we don't have an account and should hide them. No account == no guest account ei display: none; } +.mx_ButtonRow.mx_WelcomePage_guestFunctions > div { + padding-top: 16px; + margin: 0 auto; +} + @media only screen and (max-width: 480px) { .mx_ButtonRow { flex-direction: column; @@ -192,15 +188,8 @@ we don't have an account and should hide them. No account == no guest account ei
-
_t("Need help?")
- -
_t("Chat with Riot Bot")
-
-
-
-
_t("Explore rooms")
-
_t("Room Directory")
+
_t("Explore rooms")
From bc4254574d60f779614a225bb856053279cbeba1 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 28 May 2020 19:08:03 +0100 Subject: [PATCH 2/3] i18n Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/i18n/strings/en_EN.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 3461eeb7..bfccb813 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -31,8 +31,5 @@ "Decentralised, encrypted chat & collaboration powered by [matrix]": "Decentralised, encrypted chat & collaboration powered by [matrix]", "Sign In": "Sign In", "Create Account": "Create Account", - "Need help?": "Need help?", - "Chat with Riot Bot": "Chat with Riot Bot", - "Explore rooms": "Explore rooms", - "Room Directory": "Room Directory" + "Explore rooms": "Explore rooms" } From c6688f0245c397707c9f0118e93a835ad032b1a9 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 30 May 2020 12:52:21 +0100 Subject: [PATCH 3/3] make button margin equal all around Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/welcome.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/welcome.html b/res/welcome.html index 3b3b0187..f26bdd8d 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -149,8 +149,10 @@ we don't have an account and should hide them. No account == no guest account ei display: none; } +.mx_ButtonRow.mx_WelcomePage_guestFunctions { + margin-top: 20px; +} .mx_ButtonRow.mx_WelcomePage_guestFunctions > div { - padding-top: 16px; margin: 0 auto; }