From a6da89481c0f5fc0a8ab906fc6807f661c6e4443 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 6 Jun 2022 04:25:19 +0000 Subject: [PATCH] Makes the avatar of the user menu non-draggable (#8765) --- res/css/structures/_UserMenu.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/res/css/structures/_UserMenu.scss b/res/css/structures/_UserMenu.scss index a88e9eddb9..83dab52d9d 100644 --- a/res/css/structures/_UserMenu.scss +++ b/res/css/structures/_UserMenu.scss @@ -22,10 +22,14 @@ limitations under the License. .mx_AccessibleButton { display: flex; align-items: center; - } - .mx_UserMenu_userAvatar { - position: relative; + .mx_UserMenu_userAvatar { + position: relative; + + .mx_BaseAvatar { + pointer-events: none; // makes the avatar non-draggable + } + } } .mx_UserMenu_name {