Skip to content

Commit

Permalink
fix: add RTL support to the modal component (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbadri authored Mar 7, 2024
1 parent f373400 commit a686262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-rockets-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/modal": patch
---

Add RTL support to the modal component.
2 changes: 2 additions & 0 deletions packages/core/theme/src/components/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ const modal = tv({
"select-none",
"top-1",
"right-1",
"rtl:left-1",
"rtl:right-[unset]",
"p-2",
"text-foreground-500",
"rounded-full",
Expand Down

0 comments on commit a686262

Please sign in to comment.