How to prevent material icon text from showing up when Google’s JS fails to convert them?

you can use font-display: block;, just add this CSS to your HTML head:

<style>
   @font-face {
      font-family: 'Material Icons';
      font-display: block;
    }
</style>

for more information font-display

Leave a Comment