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

Commit 3e0a13e

Browse files
committed
Nesting - .mx_BaseAvatar under mx_UserInfo_avatar_transition_child
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 5a71316 commit 3e0a13e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

res/css/views/right_panel/_UserInfo.scss

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,29 +115,29 @@ limitations under the License.
115115
width: 100% !important;
116116
height: 100% !important;
117117
}
118-
}
119-
}
120118

121-
.mx_BaseAvatar {
122-
.mx_BaseAvatar_initial {
123-
z-index: 1;
124-
display: flex;
125-
align-items: center;
126-
justify-content: center;
127-
128-
// override the calculated sizes so that the letter isn't HUGE
129-
font-size: 6rem !important;
130-
width: 100% !important;
131-
transition: font-size 0.5s;
132-
133-
+ .mx_BaseAvatar_image {
134-
cursor: default;
119+
.mx_BaseAvatar {
120+
.mx_BaseAvatar_initial {
121+
z-index: 1;
122+
display: flex;
123+
align-items: center;
124+
justify-content: center;
125+
126+
// override the calculated sizes so that the letter isn't HUGE
127+
font-size: 6rem !important;
128+
width: 100% !important;
129+
transition: font-size 0.5s;
130+
131+
+ .mx_BaseAvatar_image {
132+
cursor: default;
133+
}
134+
}
135+
136+
&.mx_BaseAvatar_image {
137+
cursor: zoom-in;
138+
}
135139
}
136140
}
137-
138-
&.mx_BaseAvatar_image {
139-
cursor: zoom-in;
140-
}
141141
}
142142
}
143143

0 commit comments

Comments
 (0)