Skip to content

Commit

Permalink
feat(drawer): add rtl support
Browse files Browse the repository at this point in the history
  • Loading branch information
nahasco committed Sep 11, 2024
1 parent 527da48 commit 401a470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/registry/default/ui/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const DrawerHeader = ({
...props
}: React.HTMLAttributes<HTMLDivElement>) => (
<div
className={cn("grid gap-1.5 p-4 text-center sm:text-left", className)}
className={cn("grid gap-1.5 p-4 text-center sm:text-start", className)}
{...props}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion apps/www/registry/new-york/ui/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const DrawerHeader = ({
...props
}: React.HTMLAttributes<HTMLDivElement>) => (
<div
className={cn("grid gap-1.5 p-4 text-center sm:text-left", className)}
className={cn("grid gap-1.5 p-4 text-center sm:text-start", className)}
{...props}
/>
)
Expand Down

0 comments on commit 401a470

Please sign in to comment.