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.
1919 /* Stick the default room avatar colour, so it doesn't cause a false diff on the screenshot */
2020 .mx_BaseAvatar {
2121 background-color : var (--percy-color-avatar ) !important ;
22+ color : white !important ;
2223 }
2324}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ limitations under the License.
1818.mx_ExtraTile {
1919 position : relative;
2020 contain : content;
21- line-height : 1 ;
21+ line-height : 0 ;
2222
2323 & .mx_DecoratedRoomAvatar_cutout .mx_BaseAvatar {
2424 mask-image : url("$(res)/img/element-icons/roomlist/decorated-avatar-mask.svg" );
@@ -30,10 +30,9 @@ limitations under the License.
3030 .mx_DecoratedRoomAvatar_icon {
3131 position : absolute;
3232 /* 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
3736 height : 25 % ;
3837 border-radius : 50 % ;
3938 }
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ limitations under the License.
4343 border-radius : 50 % ;
4444 z-index : 1 ;
4545
46+ line-height : 0 ;
47+
4648 .mx_MiniAvatarUploader_cameraIcon {
4749 height : 100 % ;
4850 width : 100 % ;
You can’t perform that action at this time.
0 commit comments