diff --git a/packages/primevue/src/floatlabel/style/FloatLabelStyle.js b/packages/primevue/src/floatlabel/style/FloatLabelStyle.js index bd470e0eb..0818700fd 100644 --- a/packages/primevue/src/floatlabel/style/FloatLabelStyle.js +++ b/packages/primevue/src/floatlabel/style/FloatLabelStyle.js @@ -25,6 +25,10 @@ const theme = ({ dt }) => ` transform: translateY(0); } +.p-floatlabel:has(.p-inputnumber-horizontal) label { + margin-inline-start: ${dt('inputnumber.button.width')}; +} + .p-floatlabel:has(.p-invalid) label { color: ${dt('floatlabel.invalid.color')}; }