1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-06-21 23:38:39 +00:00

fix(pwa): avoid iOS status bar overlapping PWA content (#2173)

Fixes #2173
This commit is contained in:
Cotes Chung
2026-05-16 14:39:58 +08:00
parent fb3aa94c1f
commit 38232120b7
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -2,8 +2,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7"> <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e"> <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta <meta
name="viewport" name="viewport"
content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover" content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover"
+1 -1
View File
@@ -24,5 +24,5 @@ layout: compress
"start_url": "{{ '/index.html' | relative_url }}", "start_url": "{{ '/index.html' | relative_url }}",
"theme_color": "#2a1e6b", "theme_color": "#2a1e6b",
"background_color": "#ffffff", "background_color": "#ffffff",
"display": "fullscreen" "display": "standalone"
} }