PolymerElements / paper-input

A Material Design text field
https://www.webcomponents.org/element/PolymerElements/paper-input
130 stars 159 forks source link

Remove extra margin from Safari user agent stylesheet #573

Closed hotforfeature closed 6 years ago

hotforfeature commented 7 years ago

Safari's user agent stylesheet adds a 4px margin-top and margin-bottom for inputs. This removes that and fixes #520

Left is Chrome, right is Safari. Before: screen shot 2017-09-27 at 9 04 33 am

After: screen shot 2017-09-27 at 9 14 54 am

Only affects <paper-input>, <paper-textarea> is fine.

hotforfeature commented 7 years ago

Not sure why the tests are failing, I think they were already broken. Adding margin: 0; would not break any of the tests.

notwaldorf commented 6 years ago

tests are broken because blur/focus tests fail on travis :(