Merge pull request #2957 from matrix-org/t3chguy/invite_perms

Check permission to invite before showing invite buttons/disable them
This commit is contained in:
Michael Telatynski 2019-05-14 23:15:59 +01:00 committed by GitHub
commit 9b40913838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 2 deletions

View file

@ -87,6 +87,11 @@ limitations under the License.
}
}
.mx_MemberList_invite.mx_AccessibleButton_disabled {
background-color: $greyed-fg-color;;
cursor: not-allowed;
}
.mx_MemberList_invite span {
background-image: url('$(res)/img/feather-customised/user-add.svg');
background-repeat: no-repeat;