fix(input): correct label margin for RTL required inputs (#2781)

* fix(input): correct label margin for RTL required inputs

* fix(theme): add changeset fr theme
This commit is contained in:
Mohammad Reza Badri 2024-04-29 10:52:14 +03:30 committed by GitHub
parent 5f5ad7a1dd
commit 648edad77e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---
Fixed incorrect margin on labels for RTL required inputs. (#2780)

View File

@ -206,7 +206,8 @@ const input = tv({
}, },
isRequired: { isRequired: {
true: { true: {
label: "after:content-['*'] after:text-danger after:ml-0.5", label:
"after:content-['*'] after:text-danger after:ml-0.5 rtl:after:ml-[unset] rtl:after:mr-0.5",
}, },
}, },
isMultiline: { isMultiline: {