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

Prevent default avatar in UserInfo having pointer cursor #7218

Merged
merged 1 commit into from
Nov 29, 2021
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: 8 additions & 2 deletions res/css/views/right_panel/_UserInfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,14 @@ limitations under the License.
transition: font-size 0.5s;
}

.mx_UserInfo_avatar .mx_BaseAvatar.mx_BaseAvatar_image {
cursor: zoom-in;
.mx_UserInfo_avatar .mx_BaseAvatar {
.mx_BaseAvatar_initial + .mx_BaseAvatar_image {
cursor: default;
}

&.mx_BaseAvatar_image {
cursor: zoom-in;
}
}

h3 {
Expand Down