File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
packages/react/src/AvatarStack Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3636
3737 /* 1. avatar size + the non-overlapping part of the second avatar */
3838
39- /* 2. + the border widths of the first two avatars;thiscalcexplained */
39+ /* 2. + the border widths of the first two avatars */
4040 min-width : calc (
4141 var (--avatar-stack-size ) + calc (var (--avatar-stack-size ) + var (--avatar-two-margin )) + var (--avatar-border-width )
4242 );
4747
4848 /* 1. avatar size + the non-overlapping part of the second avatar */
4949
50- /* 2. + the non-overlapping part of the third avatar;thiscalcexplained */
50+ /* 2. + the non-overlapping part of the third avatar */
5151 min-width : calc (
5252 var (--avatar-stack-size ) +
5353 calc (
6262
6363 /* 1. avatar size + the non-overlapping part of the second avatar */
6464
65- /* 2. + the non-overlapping part of the third and fourth avatar;thiscalcexplained */
65+ /* 2. + the non-overlapping part of the third and fourth avatar */
6666 min-width : calc (
6767 var (--avatar-stack-size ) +
6868 calc (
Original file line number Diff line number Diff line change @@ -382,8 +382,7 @@ const AvatarStack = ({
382382 data-align-right = { enabled && alignRight ? '' : undefined }
383383 data-responsive = { enabled && ( ! size || isResponsiveValue ( size ) ) ? '' : undefined }
384384 className = { clsx ( wrapperClassNames , { [ classes . AvatarStack ] : enabled } ) }
385- // @ts -ignore - it's not allowing CSS properties here
386- style = { enabled ? ( getResponsiveAvatarSizeStyles ( ) as React . CSSProperties ) : undefined }
385+ style = { enabled ? getResponsiveAvatarSizeStyles ( ) : undefined }
387386 sx = { avatarStackSx }
388387 >
389388 < AvatarStackBody
You can’t perform that action at this time.
0 commit comments