From 0d524ae70b13548a861c5f4352a793789ec10644 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 11 Oct 2021 10:43:37 +0100 Subject: [PATCH] Iterate invite your teammates to Space view --- res/css/structures/_SpaceRoomView.scss | 11 ++++++++--- src/components/structures/SpaceRoomView.tsx | 1 - 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/res/css/structures/_SpaceRoomView.scss b/res/css/structures/_SpaceRoomView.scss index 812b6dcea9..e116885047 100644 --- a/res/css/structures/_SpaceRoomView.scss +++ b/res/css/structures/_SpaceRoomView.scss @@ -422,7 +422,7 @@ $SpaceRoomViewInnerWidth: 428px; .mx_SpaceRoomView_inviteTeammates { // XXX remove this when spaces leaves Beta .mx_SpaceRoomView_inviteTeammates_betaDisclaimer { - padding: 58px 16px 16px; + padding: 16px; position: relative; border-radius: 8px; background-color: $header-panel-bg-color; @@ -465,8 +465,13 @@ $SpaceRoomViewInnerWidth: 428px; } } - .mx_SpaceRoomView_inviteTeammates_inviteDialogButton::before { - mask-image: url('$(res)/img/element-icons/room/invite.svg'); + .mx_SpaceRoomView_inviteTeammates_inviteDialogButton { + color: $accent-color; + + &::before { + mask-image: url('$(res)/img/element-icons/room/invite.svg'); + background-color: $accent-color; + } } } } diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index 270db21408..629c62cde0 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -729,7 +729,6 @@ const SpaceSetupPrivateInvite = ({ space, onFinished }) => {
- { _t("This is an experimental feature. For now, " + "new users receiving an invite will have to open the invite on to actually join.", {}, { b: sub => { sub },