From d06ec845ee221822c84a4741fee1c0cca6632810 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 11 Feb 2022 12:05:54 +0000 Subject: [PATCH] Fix cutout misalignment on some decorated room avatars (#7784) --- 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 f06ed59fb3..0a999bce05 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 ba6c6e04f1..0d5b459744 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 {