feat(pwa): Enable fullscreen mode for Android immersive reading (#2649)
- Change display from standalone to fullscreen with fallback options - Add viewport-fit=cover for notched device support Closes #2648
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "booklore",
|
||||
"short_name": "booklore",
|
||||
"display": "standalone",
|
||||
"display": "fullscreen",
|
||||
"display_override": ["fullscreen", "standalone", "browser"],
|
||||
"scope": "./",
|
||||
"start_url": "./",
|
||||
"icons": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>BookLore</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover">
|
||||
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg"/>
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user