This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ limitations under the License.
19
19
/* Stick the default room avatar colour, so it doesn't cause a false diff on the screenshot */
20
20
.mx_BaseAvatar {
21
21
background-color : var (--percy-color-avatar ) !important ;
22
+ color : white !important ;
22
23
}
23
24
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ limitations under the License.
18
18
.mx_ExtraTile {
19
19
position : relative;
20
20
contain : content;
21
- line-height : 1 ;
21
+ line-height : 0 ;
22
22
23
23
& .mx_DecoratedRoomAvatar_cutout .mx_BaseAvatar {
24
24
mask-image : url("$(res)/img/element-icons/roomlist/decorated-avatar-mask.svg" );
@@ -30,10 +30,9 @@ limitations under the License.
30
30
.mx_DecoratedRoomAvatar_icon {
31
31
position : absolute;
32
32
/* the following percentage based sizings are to match the scalable svg mask for the cutout */
33
- bottom : 0 ;
34
- right : 0 ;
35
- transform : translate (-25 % , -70 % );
36
- width : 25 % ;
33
+ bottom : 6.25 % ; // 2px for a 32x32 avatar
34
+ right : 6.25 % ;
35
+ width : 25 % ; // 8px for a 32x32 avatar
37
36
height : 25 % ;
38
37
border-radius : 50 % ;
39
38
}
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ limitations under the License.
43
43
border-radius : 50 % ;
44
44
z-index : 1 ;
45
45
46
+ line-height : 0 ;
47
+
46
48
.mx_MiniAvatarUploader_cameraIcon {
47
49
height : 100 % ;
48
50
width : 100 % ;
You can’t perform that action at this time.
0 commit comments