material-web icon indicating copy to clipboard operation
material-web copied to clipboard

fix(filter-chip): center trailing icon in its container

Open vdegenne opened this issue 1 year ago • 1 comments

fixes https://github.com/material-components/material-web/issues/5709

vdegenne avatar Sep 09 '24 08:09 vdegenne

@asyncLiz This is a terrible fix, now I understand the problem, the icon is keeping its original size of 24px but trailing icon container is reduced to 18px. One workaround would be to set force the icon size from inside the trailing container so users don't need to implicitly write --md-icon-size: 18px every time they slot an icon there.

However I am not sure how to make this change.

vdegenne avatar Sep 09 '24 09:09 vdegenne