Load Icon Fonts with font-display:block

Google Core Web vitals deliver a warning for icon fonts loaded by Bricks; that a font-display property should be added.

Adding font-display: block to the icon font will resolve the warning. Using font-display: swap for icon fonts — as is correctly done for text fonts — will break things. This request is that Bricks will continue to use swap for text fonts and block for icon fonts.

2 Likes