diff options
| author | cookiell546 <186191371+cookiell546@users.noreply.github.com> | 2025-06-08 10:25:38 +0200 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2025-06-08 09:18:32 -0400 |
| commit | 6865c87b74363c57389cdb73352d542f1842c42c (patch) | |
| tree | 5cbec2a0606957aa05ed38bd4be96b2490feea63 /static/build.html | |
| parent | 680f4e1802009dabf0dee224e7625df93638653e (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/build.html')
| -rw-r--r-- | static/build.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/build.html b/static/build.html index 1aac6077..e23d956b 100644 --- a/static/build.html +++ b/static/build.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 build documentation"/> |
