@@ -41,35 +41,17 @@ limitations under the License.
41
41
}
42
42
}
43
43
44
- h2 {
45
- font-size : $font-18px ;
46
- font-weight : var (--cpd-font-weight-semibold );
47
- margin : 18 px 0 0 0 ;
48
- }
49
-
50
44
.mx_UserInfo_container {
51
- padding : $spacing-8 $spacing-16 ;
52
-
53
- &:not (.mx_UserInfo_separator ) {
54
- padding-top : $spacing-16 ;
55
- padding-bottom : 0 ;
56
-
57
- > :not (h3) {
58
- margin-inline-start : $spacing-8 ;
59
- display : flex;
60
- flex-flow : column;
61
- align-items : flex-start;
62
- row-gap : $spacing-8 ;
63
- }
64
- }
45
+ padding : var (--cpd-space-4x ) 0 ;
46
+ margin : 0 var (--cpd-space-4x );
65
47
66
48
.mx_UserInfo_container_verifyButton {
67
49
margin-top : $spacing-8 ;
68
50
}
69
- }
70
51
71
- .mx_UserInfo_separator {
72
- border-bottom : 1 px solid $separator ;
52
+ & + .mx_UserInfo_container {
53
+ border-top : 1 px solid $separator ;
54
+ }
73
55
}
74
56
75
57
.mx_UserInfo_memberDetailsContainer {
@@ -94,7 +76,7 @@ limitations under the License.
94
76
margin : $spacing-24 $spacing-32 0 $spacing-32 ;
95
77
96
78
.mx_UserInfo_avatar_transition {
97
- max-width : 30 vh ;
79
+ max-width : 120 px ;
98
80
aspect-ratio : 1 / 1 ;
99
81
margin : 0 auto;
100
82
transition : 0.5 s ;
@@ -112,7 +94,7 @@ limitations under the License.
112
94
}
113
95
}
114
96
115
- h3 {
97
+ h2 {
116
98
text-transform : uppercase;
117
99
color : $tertiary-content ;
118
100
font : var (--cpd-font-heading-sm-semibold );
@@ -125,41 +107,36 @@ limitations under the License.
125
107
}
126
108
127
109
.mx_UserInfo_profile {
128
- text-align : center;
129
-
130
- h2 {
131
- display : flex;
132
- font-size : $font-17px ;
110
+ h1 {
111
+ font-size : $font-20px ;
133
112
line-height : $font-25px ;
134
- flex : 1 ;
135
- justify-content : center;
136
- /* We reverse things here so for accessible technologies the name comes before the e2e shield */
137
- flex-direction : row-reverse;
138
-
139
- span {
140
- /* limit to 2 lines, show an ellipsis if it overflows */
141
- /* this looks webkit specific but is supported by Firefox 68+ */
142
- display : -webkit-box;
143
- -webkit-box-orient : vertical;
144
- -webkit-line-clamp : 2 ;
145
-
146
- overflow : hidden;
147
- word-break : break-all;
148
- text-overflow : ellipsis;
149
- }
150
113
151
- .mx_E2EIcon {
152
- margin-top : 3 px ; /* visual vertical centering to the top line of text. */
153
- margin-inline-end : $spacing-4 ; /* margin from displayName */
154
- min-width : 18 px ; /* convince flexbox to not collapse it */
114
+ /* limit to 2 lines, show an ellipsis if it overflows */
115
+ /* this looks webkit specific but is supported by Firefox 68+ */
116
+ display : -webkit-box;
117
+ -webkit-box-orient : vertical;
118
+ -webkit-line-clamp : 2 ;
119
+
120
+ overflow : hidden;
121
+ word-break : break-all;
122
+ text-overflow : ellipsis;
123
+
124
+ /* E2E icon wrapper */
125
+ .mx_Flex > span {
126
+ display : inline-block;
155
127
}
156
128
}
157
129
158
130
.mx_UserInfo_profileStatus {
159
- margin-top : $spacing-12 ;
131
+ margin : var ( --cpd-space-1x ) 0 ;
160
132
}
161
133
}
162
134
135
+ .mx_PresenceLabel {
136
+ font : var (--cpd-font-body-sm-regular );
137
+ opacity : 1 ;
138
+ }
139
+
163
140
.mx_UserInfo_memberDetails {
164
141
.mx_UserInfo_profileField {
165
142
display : flex;
@@ -184,10 +161,6 @@ limitations under the License.
184
161
185
162
.mx_UserInfo_field {
186
163
line-height : $font-16px ;
187
-
188
- & .mx_UserInfo_destructive {
189
- color : $alert ;
190
- }
191
164
}
192
165
193
166
.mx_UserInfo_statusMessage {
0 commit comments