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

pull/28217/head
Suguru Hirahara 2022-06-06 04:25:19 +00:00 committed by GitHub
parent 5ca035772d
commit a6da89481c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -22,10 +22,14 @@ limitations under the License.
.mx_AccessibleButton { .mx_AccessibleButton {
display: flex; display: flex;
align-items: center; align-items: center;
}
.mx_UserMenu_userAvatar { .mx_UserMenu_userAvatar {
position: relative; position: relative;
.mx_BaseAvatar {
pointer-events: none; // makes the avatar non-draggable
}
}
} }
.mx_UserMenu_name { .mx_UserMenu_name {