Sharlaan / material-ui-superselectfield

multiselection autocomplete dropdown component for Material-UI
https://sharlaan.github.io/material-ui-superselectfield
MIT License
266 stars 92 forks source link

Why is there a margin-top on for underline div? #117

Closed jwmann closed 6 years ago

jwmann commented 6 years ago

This margin top of 4px is adding unneeded spacing to my input. Removing it makes it looks much better. Is there any particular reason why it's there?

Sharlaan commented 6 years ago

I tried to stay inline with Material Guildelines, but they use 8px which i felt quite a lot, so i used twice less. i won't go to 0.

Source: https://material.io/guidelines/components/text-fields.html#text-fields-layout