fix: replace ltr and rtl with new ms and me (#8138)
Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
31 files changed
+165
-1729
No files matched your search
@@ -238,7 +238,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
|
||||
<>
|
||||
{variant === "fab" ? (
|
||||
<>
|
||||
<EndIcon className="-mr-1 hidden h-5 w-5 ltr:ml-2 rtl:-ml-1 rtl:mr-2 md:inline" />
|
||||
<EndIcon className="ms-2 me-2 -mr-1 hidden h-5 w-5 md:inline" />
|
||||
<FiPlus className="inline h-6 w-6 md:hidden" />
|
||||
</>
|
||||
) : (
|
||||
|
||||
@@ -56,7 +56,7 @@ const Switch = (
|
||||
<Label.Root
|
||||
htmlFor={id}
|
||||
className={cx(
|
||||
"text-emphasis align-text-top text-sm font-medium ltr:ml-2 rtl:mr-2",
|
||||
"text-emphasis ms-2 align-text-top text-sm font-medium",
|
||||
primitiveProps.disabled ? "cursor-not-allowed opacity-25" : "cursor-pointer "
|
||||
)}>
|
||||
{label}
|
||||
|
||||
Reference in new issue
Block a user