mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
0fe3633e4d
* avatar badge component added * resolved conflicts * added badge prop * updated avatar badge children/badge props * updated badge token size to be 16px * added AvatarBadge Test component * added avatar badge test * updated avatarBadge props * added Readme and test files to AvatarWithBadge Component * resolved conflicts * removed unused change * updated badge and badge props * updated avatar badge stories * updated constants for avatar badge * updated avatar badge test * replaced avatar-badge with avatar-with-badge * updated avatar badge tests * updated test for badgeProps
17 lines
265 B
SCSS
17 lines
265 B
SCSS
.avatar-with-badge {
|
|
position: relative;
|
|
width: fit-content;
|
|
|
|
&__badge-wrapper--position-top {
|
|
position: absolute;
|
|
top: -4px;
|
|
right: -4px;
|
|
}
|
|
|
|
&__badge-wrapper--position-bottom {
|
|
position: absolute;
|
|
bottom: -4px;
|
|
right: -4px;
|
|
}
|
|
}
|