Changing the size of the ion-icon in the ion-searchbar


Trying to adjust the size the ion-icons in my ion-searchbar.

ion-searchbar ion-icon {
  height: --px !important;

I can do something like this, but the icon size appears to “max out” at the default size. Font-size doesn’t appear to affect it.

Try setting the width instead. I believe we use height: 100% and set the width to better preserve the aspect ratio.

Thanks! I’ll give that a shot.