Skip to content

Commit 4d7a6e0

Browse files
fix(clerk-js): Ensure scrollbox fills the available height (#7222)
1 parent d537fd2 commit 4d7a6e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/proud-months-go.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+
Ensure scrollbox height fills the available space.

packages/clerk-js/src/ui/elements/ProfileCard/ProfileCardContent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export const ProfileCardContent = (props: ProfileCardContentProps) => {
4444
borderColor: t.colors.$borderAlpha150,
4545
marginBlock: '-1px',
4646
marginInlineEnd: '-1px',
47+
flex: 1,
4748
})}
4849
data-clerk-profile-scroll-box-root={scrollBoxId}
4950
>

0 commit comments

Comments
 (0)