You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
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-iconis by default correctly set todisplay: inline.But inside the
paper-icon-itemit should fill it's parent, sodisplay: blockwould be appropriate.Expected outcome
The
iron-iconis 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-inputshould have 24x24 according to MD guidelines) the position of the iron-icon is too low.display: blockfor theiron-iconwould fix this issue.Live Demo
Steps to reproduce
Browsers Affected