Closed hotforfeature closed 6 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:
After:
Only affects <paper-input>, <paper-textarea> is fine.
<paper-input>
<paper-textarea>
Not sure why the tests are failing, I think they were already broken. Adding margin: 0; would not break any of the tests.
margin: 0;
tests are broken because blur/focus tests fail on travis :(
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:
After:
Only affects
<paper-input>
,<paper-textarea>
is fine.