From a74ac336e541d3522308e164a22d9bc9ab406539 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 1 Feb 2019 15:38:31 -0600 Subject: [PATCH] Hide sign in / create account for logged in users --- res/home.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/res/home.html b/res/home.html index cabeb128..7819d2e1 100644 --- a/res/home.html +++ b/res/home.html @@ -100,6 +100,18 @@ h1::after { margin: 28px 0; } +.mx_ButtonRow_guest { + display: none; +} + +/* mx_HomePage_guest is set on the `HomePage` component for guest users */ +.mx_HomePage_guest .mx_ButtonRow_guest { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + .mx_buttonheadline { margin-bottom: 14px; } @@ -162,7 +174,7 @@ h1::after {

_t("Welcome to Riot.im")

_t("Decentralised, encrypted chat & collaboration powered by [matrix]")

-