Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3d0db1b

Browse files
committed
Change invite icon
1 parent 936344b commit 3d0db1b

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

res/css/views/rooms/_MemberList.scss

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,21 @@ limitations under the License.
9696
}
9797

9898
.mx_MemberList_invite span {
99-
background-image: url('$(res)/img/element-icons/room/invite.svg');
100-
background-repeat: no-repeat;
101-
background-position: center left;
102-
background-size: 20px;
103-
padding: 8px 0 8px 25px;
99+
padding: 8px 0;
100+
display: inline-flex;
101+
102+
&::before {
103+
content: '';
104+
display: inline-block;
105+
background-color: #fff;
106+
mask-image: url('$(res)/img/element-icons/room/invite.svg');
107+
mask-position: center;
108+
mask-repeat: no-repeat;
109+
mask-size: 20px;
110+
width: 20px;
111+
height: 20px;
112+
margin-right: 5px;
113+
}
104114
}
105115

106116
.mx_MemberList_inviteCommunity span {
Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)