From cd49852c2d5354eefa231336315dcf96513057e0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 17 Feb 2022 09:20:15 +0000 Subject: [PATCH] Fix icon size bug in space people context menu (#7822) --- res/css/views/context_menus/_IconizedContextMenu.scss | 5 ++--- res/css/views/rooms/_RoomList.scss | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/res/css/views/context_menus/_IconizedContextMenu.scss b/res/css/views/context_menus/_IconizedContextMenu.scss index 69e30eb4e6..36004af741 100644 --- a/res/css/views/context_menus/_IconizedContextMenu.scss +++ b/res/css/views/context_menus/_IconizedContextMenu.scss @@ -90,7 +90,6 @@ limitations under the License. width: 16px; min-width: 16px; max-width: 16px; - mask-size: contain; } span.mx_IconizedContextMenu_label { // labels @@ -120,8 +119,8 @@ limitations under the License. &::before { content: ''; - width: 16px; - height: 16px; + width: inherit; + height: inherit; position: absolute; mask-position: center; mask-size: contain; diff --git a/res/css/views/rooms/_RoomList.scss b/res/css/views/rooms/_RoomList.scss index e92951902b..029c5b6cdb 100644 --- a/res/css/views/rooms/_RoomList.scss +++ b/res/css/views/rooms/_RoomList.scss @@ -33,10 +33,10 @@ limitations under the License. .mx_RoomList_iconDialpad::before { 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'); } -.mx_RoomList_iconInvite { +.mx_RoomList_iconInvite::before { mask-image: url('$(res)/img/element-icons/room/share.svg'); }