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:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user