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.