Fix icon size bug in space people context menu (#7822)

This commit is contained in:
Michael Telatynski 2022-02-17 09:20:15 +00:00 committed by GitHub
parent 01b00bf3fe
commit cd49852c2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -90,7 +90,6 @@ limitations under the License.
width: 16px; width: 16px;
min-width: 16px; min-width: 16px;
max-width: 16px; max-width: 16px;
mask-size: contain;
} }
span.mx_IconizedContextMenu_label { // labels span.mx_IconizedContextMenu_label { // labels
@ -120,8 +119,8 @@ limitations under the License.
&::before { &::before {
content: ''; content: '';
width: 16px; width: inherit;
height: 16px; height: inherit;
position: absolute; position: absolute;
mask-position: center; mask-position: center;
mask-size: contain; mask-size: contain;

View file

@ -33,10 +33,10 @@ limitations under the License.
.mx_RoomList_iconDialpad::before { .mx_RoomList_iconDialpad::before {
mask-image: url('$(res)/img/element-icons/roomlist/dialpad.svg'); mask-image: url('$(res)/img/element-icons/roomlist/dialpad.svg');
} }
.mx_RoomList_iconStartChat { .mx_RoomList_iconStartChat::before {
mask-image: url('$(res)/img/element-icons/roomlist/member-plus.svg'); mask-image: url('$(res)/img/element-icons/roomlist/member-plus.svg');
} }
.mx_RoomList_iconInvite { .mx_RoomList_iconInvite::before {
mask-image: url('$(res)/img/element-icons/room/share.svg'); mask-image: url('$(res)/img/element-icons/room/share.svg');
} }