1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/components/component-library/avatar-with-badge/avatar-with-badge.scss
Nidhi Kumari f8881a01db
AvatarWithBadge Housekeeping (#16985)
* updated classnames

* updated readme and tests for avatar with badge

* updated constants in root

* replacing BADGE_POSITIONS with AVATAR_WITH_BADGE_BADGE_POSITIONS
2022-12-22 00:36:40 +05:30

17 lines
268 B
SCSS

.mm-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;
}
}