mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 23:22:01 +03: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
44 lines
1 KiB
Text
44 lines
1 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<UserMenu> when rendered should render as expected 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_UserMenu"
|
|
>
|
|
<div
|
|
aria-expanded="false"
|
|
aria-haspopup="true"
|
|
aria-label="User menu"
|
|
class="mx_AccessibleButton"
|
|
role="button"
|
|
tabindex="0"
|
|
title="User menu"
|
|
>
|
|
<div
|
|
class="mx_UserMenu_userAvatar"
|
|
>
|
|
<span
|
|
class="mx_BaseAvatar mx_UserMenu_userAvatar_BaseAvatar"
|
|
role="presentation"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_initial"
|
|
style="font-size: 20.8px; width: 32px; line-height: 32px;"
|
|
>
|
|
U
|
|
</span>
|
|
<img
|
|
alt=""
|
|
aria-hidden="true"
|
|
class="mx_BaseAvatar_image"
|
|
data-testid="avatar-img"
|
|
src="data:image/png;base64,00"
|
|
style="width: 32px; height: 32px;"
|
|
/>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|