Fix some RTL bugs

This commit is contained in:
mrjvs 2023-12-16 18:45:21 +01:00
parent 6766337fdb
commit 3ddcb9feaa

View file

@ -64,7 +64,7 @@ export function OverlayAnchorPosition(props: AnchorPositionProps) {
transform: `translateX(${left}px) translateY(${top}px)`,
}}
className={classNames([
"[&>*]:pointer-events-auto z-10 flex dir-neutral:items-start justify-start dir-neutral:origin-top-left touch-none",
"[&>*]:pointer-events-auto z-10 flex dir-neutral:items-start rtl:justify-start ltr:justify-end dir-neutral:origin-top-left touch-none",
props.className,
])}
>