fix(rtl): use logical margin for password link in RTL examples

Change ml-auto to ms-auto (margin-inline-start) so the Forgot your
  password link aligns correctly in both LTR and RTL layouts.

  Fixes #9515
This commit is contained in:
Francesco
2026-02-03 18:36:19 +01:00
parent 9676c8f4ee
commit 44c8f02d06
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ export function CardRtl() {
<Label htmlFor="password-rtl">{t.password}</Label>
<a
href="#"
className="ml-auto inline-block text-sm underline-offset-4 hover:underline"
className="ms-auto inline-block text-sm underline-offset-4 hover:underline"
>
{t.forgotPassword}
</a>

View File

@@ -93,7 +93,7 @@ export function CardRtl() {
<Label htmlFor="password-rtl">{t.password}</Label>
<a
href="#"
className="ml-auto inline-block text-sm underline-offset-4 hover:underline"
className="ms-auto inline-block text-sm underline-offset-4 hover:underline"
>
{t.forgotPassword}
</a>