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

Commit

Permalink
Prevent default avatar in UserInfo having pointer cursor (#7218)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Nov 29, 2021
1 parent 065b65a commit 02d4bb5
Showing 1 changed file with 8 additions and 2 deletions.
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

0 comments on commit 02d4bb5

Please sign in to comment.