Skip to content

Commit b487ae6

Browse files
alexcarpentercoderabbitai[bot]
authored andcommitted
fix(clerk-js): Add size to avatar remove button to avoid shift (#7041)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 707e819 commit b487ae6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.changeset/funny-areas-draw.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
Make avatar remove button size xs to be consistent with upload button sizing.

packages/clerk-js/src/ui/elements/AvatarUploader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const AvatarUploader = (props: AvatarUploaderProps) => {
114114
variant='ghost'
115115
colorScheme='danger'
116116
onClick={handleRemove}
117+
size='xs'
117118
/>
118119
)}
119120
</Flex>

0 commit comments

Comments
 (0)