prolina2020-11-18 22:26:27
prolina, 2020-11-18 22:26:27

Angular material icon not displaying correctly?

When the component is loaded, the text of the icon material (warning) appears first, and after a second - the icon itself.
Module imported in project and css too

$mat-icons-url: 'https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp';
@import url($mat-icons-url);

Plays every time

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question