Are you willing to submit a PR to fix? (Yes)
Requested priority: (Normal)
Products/sites affected: (if applicable)
Dropdown component has been assigned margin-botttom: 10px by default. A fabric component shouldn't assign external margins. If dropdown is put in a table column it breaks layout for other column elements.
@dzearing, any reason why we have margin-bottom: 10px on dropdown root element ?
I suspect these styles are leftover from long ago. We used to have margins below all form elements to make it easy to assemble a form with consistent spacing between the elements. It's helpful in that one scenario but, as you've noted, it causes problems when the components are used elsewhere. I agree that no component should have margins on the root element.
yup...we should just wait for a big breaking change, and drop all the margins off of any root
i 1000% agree with all of this, remove them all imo! (I didn't add them, they were ported from the original styling.)
Most helpful comment
yup...we should just wait for a big breaking change, and drop all the margins off of any root