From 02d4bb517cd78508237fdac47a0c84c81c398cc6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 29 Nov 2021 17:11:40 +0000 Subject: [PATCH] Prevent default avatar in UserInfo having pointer cursor (#7218) --- res/css/views/right_panel/_UserInfo.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/res/css/views/right_panel/_UserInfo.scss b/res/css/views/right_panel/_UserInfo.scss index e1a3fce9ee..3f0f5982f9 100644 --- a/res/css/views/right_panel/_UserInfo.scss +++ b/res/css/views/right_panel/_UserInfo.scss @@ -116,8 +116,14 @@ limitations under the License. transition: font-size 0.5s; } - .mx_UserInfo_avatar .mx_BaseAvatar.mx_BaseAvatar_image { - cursor: zoom-in; + .mx_UserInfo_avatar .mx_BaseAvatar { + .mx_BaseAvatar_initial + .mx_BaseAvatar_image { + cursor: default; + } + + &.mx_BaseAvatar_image { + cursor: zoom-in; + } } h3 {