The iron-icon is by default correctly set to display: inline.
But inside the paper-icon-item it should fill it's parent, so display: block would be appropriate.
Expected outcome
The iron-icon is always centered inside the paper-icon-item and fills it.
Actual outcome
This is only true for the default size.
If the paper-icon-item is smaller (e.g. an clear button for an paper-input should have 24x24 according to MD guidelines) the position of the iron-icon is too low. display: block for the iron-icon would fix this issue.
Description
The
iron-icon
is by default correctly set todisplay: inline
. But inside thepaper-icon-item
it should fill it's parent, sodisplay: block
would be appropriate.Expected outcome
The
iron-icon
is always centered inside the paper-icon-item and fills it.Actual outcome
This is only true for the default size. If the paper-icon-item is smaller (e.g. an clear button for an
paper-input
should have 24x24 according to MD guidelines) the position of the iron-icon is too low.display: block
for theiron-icon
would fix this issue.Live Demo
Steps to reproduce
Browsers Affected