From b8a3b29cf741803e7192821db425763375291fbf Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 11 Feb 2022 11:50:07 +0000 Subject: [PATCH] [Release] Fix cutout misalignment on some decorated room avatars (#7785) --- res/css/views/dialogs/_SpotlightDialog.scss | 7 +++++++ res/css/views/rooms/_RecentlyViewedButton.scss | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/res/css/views/dialogs/_SpotlightDialog.scss b/res/css/views/dialogs/_SpotlightDialog.scss index f06ed59fb3d..0a999bce05b 100644 --- a/res/css/views/dialogs/_SpotlightDialog.scss +++ b/res/css/views/dialogs/_SpotlightDialog.scss @@ -148,6 +148,13 @@ limitations under the License. .mx_DecoratedRoomAvatar { margin-right: 8px; + width: 20px; + height: 20px; + + .mx_BaseAvatar { + width: inherit; + height: inherit; + } } .mx_NotificationBadge { diff --git a/res/css/views/rooms/_RecentlyViewedButton.scss b/res/css/views/rooms/_RecentlyViewedButton.scss index ba6c6e04f1b..0d5b4597440 100644 --- a/res/css/views/rooms/_RecentlyViewedButton.scss +++ b/res/css/views/rooms/_RecentlyViewedButton.scss @@ -49,9 +49,13 @@ limitations under the License. background-color: $panel-actions; } - .mx_BaseAvatar { + .mx_DecoratedRoomAvatar { margin-right: 8px; width: 24px; + + .mx_BaseAvatar { + width: inherit; + } } .mx_RecentlyViewedButton_entry_label {