Skip to content

Commit

Permalink
fix(clerk-js): Enforce LTR direction in code inputs (#1873)
Browse files Browse the repository at this point in the history
  • Loading branch information
desiprisg authored Oct 13, 2023
1 parent 9314862 commit e67fcfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-lizards-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Enforce LTR direction in code inputs
1 change: 1 addition & 0 deletions packages/clerk-js/src/ui/elements/CodeControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const CodeControl = React.forwardRef<{ reset: any }, CodeControlProps>((p
elementDescriptor={descriptors.otpCodeFieldInputs}
gap={2}
align='center'
sx={{ direction: 'ltr', width: 'max-content' }}
>
{values.map((value, index: number) => (
<SingleCharInput
Expand Down

0 comments on commit e67fcfe

Please sign in to comment.