fix(theme): stepperButton when labelPlacement is outside in NumberInput (#5628)

* fix(theme): set stepperButton height when labelPlacement=outside in NumberInput component

* chore(changeset): add issue number

---------

Co-authored-by: WK <wingkwong.code@gmail.com>
This commit is contained in:
doki- 2025-08-25 15:39:14 +08:00 committed by GitHub
parent e43e44ff51
commit 743505fbc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@heroui/theme": patch
---
set stepperButton height when lablePlacement=outside (#5622)

View File

@ -801,6 +801,7 @@ const numberInput = tv({
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_20px)]",
],
base: "data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_10px)]",
stepperButton: "before:h-4",
},
},
{