Skip to content

Commit

Permalink
fix(fuselage): Avatar element excending container width (RocketChat#1017
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gabriellsh authored Mar 30, 2023
1 parent d89a76c commit 94fbb72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fuselage/src/components/Avatar/Avatar.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 94fbb72

Please sign in to comment.