fix: Content appearing behind status bar in iOS PWA on some models of phone 🤷

This commit is contained in:
Tom Moor
2021-04-23 14:57:38 -07:00
parent cfae180093
commit c8055e40bb
2 changed files with 0 additions and 12 deletions

View File

@ -19,17 +19,6 @@ export default function PageTheme() {
themeElement.setAttribute("content", theme.background);
}
// status bar color for iOS PWA
const statusElement = document.querySelector(
'meta[name="apple-mobile-web-app-status-bar-style"]'
);
if (statusElement) {
statusElement.setAttribute(
"content",
ui.resolvedTheme === "dark" ? "black-translucent" : "default"
);
}
// user-agent controls and scrollbars
const csElement = document.querySelector('meta[name="color-scheme"]');
if (csElement) {