CreativeIT / getmdl-select

Select for material-design-lite
http://creativeit.github.io/getmdl-select/
MIT License
301 stars 87 forks source link

Padding Modification Misaligns Animation #82

Closed korndog closed 5 years ago

korndog commented 6 years ago

If I modify the the top and bottom padding of an MDL select field then the label and animation are subsequently misaligned. For example:

Per https://stackoverflow.com/questions/42739168/reduce-or-remove-vertical-padding-of-mdl-textfields, the label can be fixed by modifying the "top" style of "mdl-textfield__label". However, modifying the "bottom" style of "mdl-textfield__label:after" does not fix the animation. The animation is still too high. Is there a way to fix the animation? Thank you!
alexbananabob commented 6 years ago

Hi, @korndog Not sure that understood you problem. And can't reproduce it. Provide, please, some examples of code or images