From 61b232377b4b1fb41de30fd33e690a36b36ba575 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 17 Oct 2024 22:14:29 +0200 Subject: [PATCH] fix(AvatarGroup): wrong ring on big sizes --- src/theme/avatar-group.ts | 12 ++++++------ .../__snapshots__/AvatarGroup.spec.ts.snap | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/theme/avatar-group.ts b/src/theme/avatar-group.ts index e00e3f4d8..64bb39c70 100644 --- a/src/theme/avatar-group.ts +++ b/src/theme/avatar-group.ts @@ -6,13 +6,13 @@ export default { variants: { size: { '3xs': { - base: 'ring-1 -me-0.5' + base: 'ring -me-0.5' }, '2xs': { - base: 'ring-1 -me-0.5' + base: 'ring -me-0.5' }, 'xs': { - base: 'ring-1 -me-0.5' + base: 'ring -me-0.5' }, 'sm': { base: 'ring-2 -me-1.5' @@ -24,13 +24,13 @@ export default { base: 'ring-2 -me-1.5' }, 'xl': { - base: 'ring-2.5 -me-2' + base: 'ring-3 -me-2' }, '2xl': { - base: 'ring-2.5 -me-2' + base: 'ring-3 -me-2' }, '3xl': { - base: 'ring-2.5 -me-2' + base: 'ring-3 -me-2' } } }, diff --git a/test/components/__snapshots__/AvatarGroup.spec.ts.snap b/test/components/__snapshots__/AvatarGroup.spec.ts.snap index afab6f5d9..50228a063 100644 --- a/test/components/__snapshots__/AvatarGroup.spec.ts.snap +++ b/test/components/__snapshots__/AvatarGroup.spec.ts.snap @@ -18,25 +18,25 @@ exports[`AvatarGroup > renders with max correctly 1`] = `"
- NRRHBC + NRRHBC
" `; exports[`AvatarGroup > renders with size 2xs correctly 1`] = ` "
- NRRHBC + NRRHBC
" `; exports[`AvatarGroup > renders with size 3xl correctly 1`] = ` "
- NRRHBC + NRRHBC
" `; exports[`AvatarGroup > renders with size 3xs correctly 1`] = ` "
- NRRHBC + NRRHBC
" `; @@ -60,13 +60,13 @@ exports[`AvatarGroup > renders with size sm correctly 1`] = ` exports[`AvatarGroup > renders with size xl correctly 1`] = ` "
- NRRHBC + NRRHBC
" `; exports[`AvatarGroup > renders with size xs correctly 1`] = ` "
- NRRHBC + NRRHBC
" `;