summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorcookiell546 <186191371+cookiell546@users.noreply.github.com>2025-06-08 10:25:38 +0200
committerDaniel Micay <daniel.micay@grapheneos.org>2025-06-08 09:18:32 -0400
commit6865c87b74363c57389cdb73352d542f1842c42c (patch)
tree5cbec2a0606957aa05ed38bd4be96b2490feea63 /static/index.html
parent680f4e1802009dabf0dee224e7625df93638653e (diff)
Opt-into edge-to-edge by default
Chromium already supports dynamic edge-to-edge viewports. This change opts-in by default, making the gesture navigation bar (chin) invisible without needing scroll interaction. No other changes were necessary, as no content relied on specific viewport insets. Command used: ``` sed -i 's/<meta name="viewport" content="width=device-width, initial-scale=1"\/>/<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"\/>/g' **/*.html ```
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.html b/static/index.html
index 55467b87..4c393dae 100644
--- a/static/index.html
+++ b/static/index.html
@@ -7,7 +7,7 @@
<meta name="theme-color" content="#212121"/>
<meta name="color-scheme" content="dark light"/>
<meta name="msapplication-TileColor" content="#ffffff"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta name="twitter:site" content="@GrapheneOS"/>
<meta name="twitter:creator" content="@GrapheneOS"/>
<meta property="og:title" content="GrapheneOS: the private and secure mobile OS"/>