File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { isLangRightToLeft } from "@/lib/utils/translations"
7
7
type UseDirection = {
8
8
/** @deprecated */
9
9
flipForRtl : "scaleX(-1)" | undefined // transform (deprecated)
10
- twFlipForRtl : "-scale-x-1 " | "" // className
10
+ twFlipForRtl : "-scale-x-100 " | "" // className
11
11
isRtl : boolean
12
12
direction : "ltr" | "rtl"
13
13
}
@@ -22,7 +22,7 @@ export const useRtlFlip = (): UseDirection => {
22
22
const isRtl = isLangRightToLeft ( locale as Lang )
23
23
return {
24
24
flipForRtl : isRtl ? "scaleX(-1)" : undefined , // transform (deprecated)
25
- twFlipForRtl : isRtl ? "-scale-x-1 " : "" , // className (preferred)
25
+ twFlipForRtl : isRtl ? "-scale-x-100 " : "" , // className (preferred)
26
26
isRtl,
27
27
direction : isRtl ? "rtl" : "ltr" ,
28
28
}
You can’t perform that action at this time.
0 commit comments