I am using a custom Ultima theme.
With the simple code like :
Code: Select all
<button type="button" label="Update" icon="ui-icon-update" pButton></button>
What am I missing? Why doesn't the icon show up?
Code: Select all
<button type="button" label="Update" icon="ui-icon-update" pButton></button>
Code: Select all
<i class="fa ui-icon-3d-rotation"></i>
I don't have one.
Code: Select all
.material-icons, .fa {
font-family: 'Material Icons';
...
Code: Select all
//line 1016
.material-icons { /* please remove .fa class */
..
}
Code: Select all
//line 112
@mixin icon-override($icon) {
&.fa {
@include material-icon($icon);
}
}
Legend!!aragorn wrote: ↑16 May 2018, 06:50Also, do you have fontawesome*.css in your project? Exp; in .angular-cli.json;
"styles": [
"../node_modules/font-awesome/css/font-awesome.min.css",
Could you please try this issue after removing fontawesome css?
OR
Could you please make the following changes?
_icons.scss_mixins.scssCode: Select all
//line 1016 .material-icons { /* please remove .fa class */ .. }
Then, please provide new theme css file using SASS command.Code: Select all
//line 112 @mixin icon-override($icon) { &.fa { @include material-icon($icon); } }
Users browsing this forum: No registered users and 4 guests