File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,8 @@ const CarouselPrevious = React.forwardRef<
209
209
className = { cn (
210
210
"absolute h-8 w-8 rounded-full" ,
211
211
orientation === "horizontal"
212
- ? "left -5 top-1/2 -translate-y-1/2"
213
- : "-top-12 left -1/2 -translate-x-1/2 rotate-90" ,
212
+ ? "start -5 top-1/2 -translate-y-1/2"
213
+ : "-top-12 start -1/2 -translate-x-1/2 rotate-90" ,
214
214
className
215
215
) }
216
216
disabled = { ! canScrollPrev }
@@ -238,8 +238,8 @@ const CarouselNext = React.forwardRef<
238
238
className = { cn (
239
239
"absolute h-8 w-8 rounded-full" ,
240
240
orientation === "horizontal"
241
- ? "right -5 top-1/2 -translate-y-1/2"
242
- : "-bottom-12 left -1/2 -translate-x-1/2 rotate-90" ,
241
+ ? "end -5 top-1/2 -translate-y-1/2"
242
+ : "-bottom-12 start -1/2 -translate-x-1/2 rotate-90" ,
243
243
className
244
244
) }
245
245
disabled = { ! canScrollNext }
You can’t perform that action at this time.
0 commit comments