mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
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:
parent
5f5ad7a1dd
commit
648edad77e
5
.changeset/witty-birds-watch.md
Normal file
5
.changeset/witty-birds-watch.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/theme": patch
|
||||
---
|
||||
|
||||
Fixed incorrect margin on labels for RTL required inputs. (#2780)
|
||||
@ -206,7 +206,8 @@ const input = tv({
|
||||
},
|
||||
isRequired: {
|
||||
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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user