diff --git a/client/src/document/ingredients/browser-compatibility-table/headers.tsx b/client/src/document/ingredients/browser-compatibility-table/headers.tsx index 33ffb8b6302d..5783a3984370 100644 --- a/client/src/document/ingredients/browser-compatibility-table/headers.tsx +++ b/client/src/document/ingredients/browser-compatibility-table/headers.tsx @@ -59,8 +59,16 @@ function BrowserHeaders({ browsers }: { browsers: BCD.BrowserName[] }) { } export function browserToIconName(browser: string) { - const browserStart = browser.split("_")[0]; - return browserStart === "firefox" ? "simple-firefox" : browserStart; + if (browser.startsWith("firefox")) { + return "simple-firefox"; + } else if (browser === "webview_android") { + return "webview"; + } else if (browser === "webview_ios") { + return "safari"; + } else { + const browserStart = browser.split("_")[0]; + return browserStart; + } } export function Headers({