Revert "gh-14483: Fix boost font override breaking certain icons" (gh-14903)

This commit is contained in:
mr. m
2026-08-10 08:57:28 +02:00
committed by GitHub
parent 0069716cd9
commit 61275153eb

View File

@@ -81,15 +81,8 @@ 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(${ignoredElements.join(",")}) {\n`;
style += `body *:not(.google-symbols, gf-load-icon-font, mat-icon, .google-material-icons) {\n`;
style += `${fontFamily}\n`;
style += `${fontCase}\n`;
style += `}\n`;