Skip to content

Commit

Permalink
fix(clerk-js): Adjust verification modal placement and card logo (#5153)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarpenter authored Feb 14, 2025
1 parent 80e6ba0 commit 14fd729
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-pets-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Adjust verification modal vertical alignment and remove logo usage within verification cards.
1 change: 0 additions & 1 deletion packages/clerk-js/src/ui/Components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ const Components = (props: ComponentsProps) => {
startPath={buildVirtualRouterUrl({ base: '/user-verification', path: urlStateParam?.path })}
componentName={'UserVerificationModal'}
modalContainerSx={{ alignItems: 'center' }}
modalContentSx={t => ({ height: `min(${t.sizes.$176}, calc(100% - ${t.sizes.$12}))`, margin: 0 })}
>
<UserVerificationModal {...userVerificationModal} />
</LazyModalRenderer>
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/elements/VerificationCodeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const VerificationCodeCard = (props: PropsWithChildren<VerificationCodeCa
return (
<Card.Root>
<Card.Content>
<Header.Root showLogo>
<Header.Root>
<Header.Title localizationKey={props.cardTitle} />
<Header.Subtitle localizationKey={props.cardSubtitle} />
<IdentityPreview
Expand Down

0 comments on commit 14fd729

Please sign in to comment.