Closed MInesGomes closed 5 years ago
Thanks for the issue! I'm not able to reproduce this on an icon, or an icon in an item. Judging by the slot
I am guessing it is inside of another component. Could you please provide the full markup or a Codepen/repository that we can use to reproduce this? Thanks!
Here is a Codepen example using vanilla JS, but I also tried in the Angular conference app and couldn't reproduce: https://codepen.io/brandyscarney/pen/gEwbMq
Thank you @brandyscarney ! It was a great help. I tried in the home page and did not give the error.... I am upgrading from 3 to 4 and the mistake was in the .scss I was putting a
page-my-modal {
.iconSize {
font-size: 512px;
}
}
Now is just
.iconSize {
font-size: 512px;
}
and works ! Sorry for the mislead issue
@Entrecampos No worries! Glad it works now. 🙂
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Ionic Framework : @ionic/angular 4.0.2 Bug: Doesn't resize the icon
.html
<ion-icon slot="start" color="green" class="iconSize" name="warning"></ion-icon>
.scss
ionic info: