Skip to content

🎨 fix: unify label-field spacing across form components#518

Merged
futjesus merged 1 commit intomainfrom
fix/unify-form-label-spacing
Feb 12, 2026
Merged

🎨 fix: unify label-field spacing across form components#518
futjesus merged 1 commit intomainfrom
fix/unify-form-label-spacing

Conversation

@futjesus
Copy link
Member

Summary

  • Standardize all form components to use gap-2 (8px) between label and field, matching the pattern already used by Input, TextArea, TimePicker, PhoneNumberInput, and ImageUpload
  • Removes inconsistent margin-based spacing (mb-1, mb-2, my-2, gap-1) from 5 components and replaces it with a unified gap-2 on the flex-col wrapper
  • Components updated: Select, Counter, Autocomplete, TagSelect, MultiSelectDropdown

Test plan

  • npm run check:types — no type errors
  • npm run test — all 394 tests pass
  • npm run lint — no lint issues
  • Visual verification in Storybook for each updated component with a label

Standardize all form components to use gap-2 (8px) between label and
field, matching the pattern already used by Input, TextArea, TimePicker,
PhoneNumberInput, and ImageUpload.

- Select: add gap-2 to wrapper, remove mb-1 from label
- Counter: change gap-1 to gap-2 in wrapper
- Autocomplete: add gap-2 to wrapper, remove mb-2 from label
- TagSelect: add gap-2 to wrapper, remove my-2 from label
- MultiSelectDropdown: add gap-2 to wrapper, remove mb-1 from label
@futjesus futjesus merged commit 49eb590 into main Feb 12, 2026
1 check passed
@futjesus futjesus deleted the fix/unify-form-label-spacing branch February 12, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant