Update dropdown to remove top and bottom margins of only direct children.

In order to use forms and other tags inside dropdowns, it may be better to remove the top and bottom margins of only direct children. This way, inputs will conserve their margins when inside a div.
Merge pull request #2459 from phcoliveira/patch-1

Update dropdown to remove top and bottom margins of only direct children.