diff --git a/res/welcome.html b/res/welcome.html index ba368b317b..5331a934f0 100644 --- a/res/welcome.html +++ b/res/welcome.html @@ -149,6 +149,15 @@ h1::after { background-image: url('welcome/images/icon-room-directory.svg'); } +/* +.mx_WelcomePage_loggedIn is applied by EmbeddedPage from the Welcome component +If it is set on the page, we should show the buttons. Otherwise, we have to assume +we don't have an account and should hide them. No account == no guest account either. + */ +.mx_WelcomePage:not(.mx_WelcomePage_loggedIn) .mx_WelcomePage_guestFunctions { + display: none; +} +
@@ -169,9 +178,9 @@ h1::after { + TODO: Strip out these comments and rely on the guest flag --> -
+
_t("Need help?")