From 11acda2db3ce10a45b261c5f550d8051b3ff3832 Mon Sep 17 00:00:00 2001 From: Lokendra singh <171655421+lokendra-singh-dhirawat@users.noreply.github.com> Date: Wed, 5 Aug 2026 14:30:46 +0530 Subject: [PATCH] gh-14483: Fix boost font override breaking certain icons (gh-14819) --- src/zen/boosts/ZenBoostStyles.sys.mjs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/zen/boosts/ZenBoostStyles.sys.mjs b/src/zen/boosts/ZenBoostStyles.sys.mjs index ac2a022f8..88acf51c9 100644 --- a/src/zen/boosts/ZenBoostStyles.sys.mjs +++ b/src/zen/boosts/ZenBoostStyles.sys.mjs @@ -81,8 +81,15 @@ export class nsZenBoostStyles { } if (fontCase != "" || fontFamily != "") { + const ignoredElements = [ + ".google-symbols", + "gf-load-icon-font", + "mat-icon", + ".google-material-icons", + "span", + ]; style += `/* Text Format */\n`; - style += `body *:not(.google-symbols, gf-load-icon-font, mat-icon, .google-material-icons) {\n`; + style += `body *:not(${ignoredElements.join(",")}) {\n`; style += `${fontFamily}\n`; style += `${fontCase}\n`; style += `}\n`;