Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Editor: viewport-fit=cover so the page reaches the physical edges

nyblnet79e75176bfe4
diff --git a/slides/index.html b/slides/index.html
index 75f36d72..ec1950ab 100644
--- a/slides/index.html
+++ b/slides/index.html
@@ -2,7 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <!-- viewport-fit=cover: without it iOS insets the page from the notch and
+ home-indicator areas and paints the gap with the body background, so the
+ editor visibly stops short of the screen edges. The app fills the screen
+ and positions its own chrome; it never needs the browser to pad it. -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<!-- The editor UI is light-only. Declaring it opts out of Chrome-on-
Android's auto-darkening (which force-inverts pages and breaks form
controls) and keeps native <select>/<input> rendering light on
diff --git a/spaces/index.html b/spaces/index.html
index eaa47c11..fbf7bb31 100644
--- a/spaces/index.html
+++ b/spaces/index.html
@@ -2,7 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <!-- viewport-fit=cover: without it iOS insets the page from the notch and
+ home-indicator areas and paints the gap with the body background, so the
+ editor visibly stops short of the screen edges. The app fills the screen
+ and positions its own chrome; it never needs the browser to pad it. -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="color-scheme" content="only light" />
<meta name="generator" content="bento-spaces" />
<title>bento/spaces</title>