Skip to content

Commit

Permalink
Makes the avatar of the user menu non-draggable (matrix-org#8765)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul authored and JanBurp committed Jun 14, 2022
1 parent ee84d09 commit 47b3b4c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions res/css/structures/_UserMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 47b3b4c

Please sign in to comment.