mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 09:58:11 +08:00
21c3967010
* Revert "Apply more general fix for base avatar regressions (#10045)" This reverts commit371a3c0d36
. * Revert "Fix layout and visual regressions around default avatars (#10031)" This reverts commit0d1fce37b2
. * Revert "Member avatars without canvas (#9990)" This reverts commita8aa4de4b4
. * Update snapshots
77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`RoomAvatar should render as expected for a DM room 1`] = `
|
|
<div>
|
|
<span
|
|
class="mx_BaseAvatar"
|
|
role="presentation"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_initial"
|
|
style="font-size: 23.400000000000002px; width: 36px; line-height: 36px;"
|
|
>
|
|
D
|
|
</span>
|
|
<img
|
|
alt=""
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_image"
|
|
data-testid="avatar-img"
|
|
src="data:image/png;base64,00"
|
|
style="width: 36px; height: 36px;"
|
|
/>
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a LocalRoom 1`] = `
|
|
<div>
|
|
<span
|
|
class="mx_BaseAvatar"
|
|
role="presentation"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_initial"
|
|
style="font-size: 23.400000000000002px; width: 36px; line-height: 36px;"
|
|
>
|
|
L
|
|
</span>
|
|
<img
|
|
alt=""
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_image"
|
|
data-testid="avatar-img"
|
|
src="data:image/png;base64,00"
|
|
style="width: 36px; height: 36px;"
|
|
/>
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a Room 1`] = `
|
|
<div>
|
|
<span
|
|
class="mx_BaseAvatar"
|
|
role="presentation"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_initial"
|
|
style="font-size: 23.400000000000002px; width: 36px; line-height: 36px;"
|
|
>
|
|
T
|
|
</span>
|
|
<img
|
|
alt=""
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_image"
|
|
data-testid="avatar-img"
|
|
src="data:image/png;base64,00"
|
|
style="width: 36px; height: 36px;"
|
|
/>
|
|
</span>
|
|
</div>
|
|
`;
|