contiamo / operational-ui

Building blocks for effective operational interfaces
https://operational-ui.netlify.com
MIT License
258 stars 47 forks source link

**Fix:** Remove <Form> wrapper to fix <Select> from increasing width … #1342

Closed rimildeyjsr closed 3 years ago

rimildeyjsr commented 3 years ago

…on selecting

Summary

The Form wrapper added in Select component with custom fields was adding an extra margin to child elements. Removed the Form wrapper and added a fragment wrapper - this prevents the style being added from the Form element, solving the problem.

Related issue

Fixes #1311

To be tested

Me

Tester 1

Tester 2