Skip to content

Commit 069103c

Browse files
fix(clerk-js): Add missing x padding to ClerkAndPagesTag (#3903)
1 parent dc95c6d commit 069103c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/purple-chicken-flash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/clerk-js": patch
3+
---
4+
5+
Fix missing horizonatal padding when page urls are used within `<UserButton />`.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const PopoverCardFooter = (props: PropsOfComponent<typeof Flex>) => {
9292

9393
<Card.ClerkAndPagesTag
9494
outerSx={t => ({
95-
padding: `${t.space.$4} ${t.space.$none}`,
95+
padding: `${t.space.$4} ${t.space.$8}`,
9696
})}
9797
withFooterPages={!!shouldShowTagOrLinks}
9898
devModeNoticeSx={t => ({

0 commit comments

Comments
 (0)