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

Makes the avatar of the user menu non-draggable #8765

Merged
merged 4 commits into from
Jun 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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