From 94fbb727a880f0d586abe04eb56f143515afa618 Mon Sep 17 00:00:00 2001 From: gabriellsh <40830821+gabriellsh@users.noreply.github.com> Date: Thu, 30 Mar 2023 17:56:43 -0300 Subject: [PATCH] fix(fuselage): Avatar element excending container width (#1017) --- packages/fuselage/src/components/Avatar/Avatar.styles.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/fuselage/src/components/Avatar/Avatar.styles.scss b/packages/fuselage/src/components/Avatar/Avatar.styles.scss index 79fef4b86e..a96a8feb31 100644 --- a/packages/fuselage/src/components/Avatar/Avatar.styles.scss +++ b/packages/fuselage/src/components/Avatar/Avatar.styles.scss @@ -23,6 +23,8 @@ $sizes: 16, 18, 20, 24, 28, 32, 36, 40, 48, 124, 200, 332; &__element { position: relative; + width: 100%; + height: 100%; @each $size in $sizes { &--x#{$size} { @if $size <= 18 {