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

Commit

Permalink
Nesting - .mx_BaseAvatar under mx_UserInfo_avatar_transition_child
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Apr 6, 2022
1 parent 5a71316 commit 3e0a13e
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions res/css/views/right_panel/_UserInfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,29 +115,29 @@ limitations under the License.
width: 100% !important;
height: 100% !important;
}
}
}

.mx_BaseAvatar {
.mx_BaseAvatar_initial {
z-index: 1;
display: flex;
align-items: center;
justify-content: center;

// override the calculated sizes so that the letter isn't HUGE
font-size: 6rem !important;
width: 100% !important;
transition: font-size 0.5s;

+ .mx_BaseAvatar_image {
cursor: default;
.mx_BaseAvatar {
.mx_BaseAvatar_initial {
z-index: 1;
display: flex;
align-items: center;
justify-content: center;

// override the calculated sizes so that the letter isn't HUGE
font-size: 6rem !important;
width: 100% !important;
transition: font-size 0.5s;

+ .mx_BaseAvatar_image {
cursor: default;
}
}

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

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

Expand Down

0 comments on commit 3e0a13e

Please sign in to comment.