mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
3117890b30
* Updating AvatarBase to use Text component instead of Box and adding font size logic based on avatar size * Updating snaps
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`AvatarAccount should render correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class="box mm-text mm-avatar-base mm-avatar-base--size-md mm-avatar-account mm-text--body-sm mm-text--text-transform-uppercase mm-text--color-text-default box--display-flex box--flex-direction-row box--justify-content-center box--align-items-center box--background-color-background-alternative box--rounded-full box--border-color-border-default box--border-style-solid box--border-width-1"
|
|
data-testid="avatar-account"
|
|
>
|
|
<div
|
|
class="mm-avatar-account__jazzicon"
|
|
>
|
|
<div
|
|
style="border-radius: 50px; overflow: hidden; padding: 0px; margin: 0px; width: 32px; height: 32px; display: inline-block; background: rgb(249, 108, 1);"
|
|
>
|
|
<svg
|
|
height="32"
|
|
width="32"
|
|
x="0"
|
|
y="0"
|
|
>
|
|
<rect
|
|
fill="#F2CA02"
|
|
height="32"
|
|
transform="translate(1.431306801437213 -0.09488555961102602) rotate(529.4 16 16)"
|
|
width="32"
|
|
x="0"
|
|
y="0"
|
|
/>
|
|
<rect
|
|
fill="#FAA200"
|
|
height="32"
|
|
transform="translate(10.974858326048588 -13.039888710538095) rotate(336.9 16 16)"
|
|
width="32"
|
|
x="0"
|
|
y="0"
|
|
/>
|
|
<rect
|
|
fill="#C8142C"
|
|
height="32"
|
|
transform="translate(-22.963750275720685 -20.223166935456838) rotate(276.6 16 16)"
|
|
width="32"
|
|
x="0"
|
|
y="0"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|