Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a6da894

Browse files
authored
Makes the avatar of the user menu non-draggable (#8765)
1 parent 5ca0357 commit a6da894

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

res/css/structures/_UserMenu.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ limitations under the License.
2222
.mx_AccessibleButton {
2323
display: flex;
2424
align-items: center;
25-
}
2625

27-
.mx_UserMenu_userAvatar {
28-
position: relative;
26+
.mx_UserMenu_userAvatar {
27+
position: relative;
28+
29+
.mx_BaseAvatar {
30+
pointer-events: none; // makes the avatar non-draggable
31+
}
32+
}
2933
}
3034

3135
.mx_UserMenu_name {

0 commit comments

Comments
 (0)