From 71db53f1e500089f717486342acea9216312cd0a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 21 Dec 2020 01:52:09 -0500 Subject: [PATCH] handle changed -webkit-fill-available semantics Chromium changed how this works to better match the evolving specification and our usage effectively became a no-op. --- nginx/nginx.conf | 6 +++--- static/404.html | 2 +- static/build.html | 2 +- static/contact.html | 2 +- static/donate.html | 2 +- static/faq.html | 2 +- static/features.html | 2 +- static/grapheneos.css | 4 ++++ static/index.html | 2 +- static/install.html | 2 +- static/pdfviewer-privacy-policy.html | 2 +- static/releases.html | 2 +- static/source.html | 2 +- static/usage.html | 2 +- 14 files changed, 19 insertions(+), 15 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 517aa971..36b311a4 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -151,12 +151,12 @@ http { location = /404 { internal; - http2_push /grapheneos.css?23; + http2_push /grapheneos.css?24; } location = /404.html { internal; - http2_push /grapheneos.css?23; + http2_push /grapheneos.css?24; } location ~ "^(.*)/index$" { @@ -197,7 +197,7 @@ http { include /etc/nginx/snippets/security-headers.conf; add_header Cache-Control "public, max-age=1800"; try_files $uri $uri.html $uri/ =404; - http2_push /grapheneos.css?23; + http2_push /grapheneos.css?24; } } diff --git a/static/404.html b/static/404.html index b5fa228d..267e001c 100644 --- a/static/404.html +++ b/static/404.html @@ -20,7 +20,7 @@ - + diff --git a/static/build.html b/static/build.html index f3c55402..4a9af0de 100644 --- a/static/build.html +++ b/static/build.html @@ -21,7 +21,7 @@ - + diff --git a/static/contact.html b/static/contact.html index f633c29f..08bed40e 100644 --- a/static/contact.html +++ b/static/contact.html @@ -21,7 +21,7 @@ - + diff --git a/static/donate.html b/static/donate.html index 679edad7..e3916473 100644 --- a/static/donate.html +++ b/static/donate.html @@ -21,7 +21,7 @@ - + diff --git a/static/faq.html b/static/faq.html index ee642511..df67b8fc 100644 --- a/static/faq.html +++ b/static/faq.html @@ -21,7 +21,7 @@ - + diff --git a/static/features.html b/static/features.html index b3a3a6c8..0fdb27d2 100644 --- a/static/features.html +++ b/static/features.html @@ -21,7 +21,7 @@ - + diff --git a/static/grapheneos.css b/static/grapheneos.css index ec45243d..9f6cc7c4 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -1,6 +1,10 @@ /* use the standard Material Light theme to match GrapheneOS apps */ /* https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r35/core/res/res/values/colors_material.xml */ +html { + height: -webkit-fill-available; +} + body { display: flex; flex-direction: column; diff --git a/static/index.html b/static/index.html index 7b87518a..5792786f 100644 --- a/static/index.html +++ b/static/index.html @@ -21,7 +21,7 @@ - + diff --git a/static/install.html b/static/install.html index e2df5bdd..5d151aa1 100644 --- a/static/install.html +++ b/static/install.html @@ -21,7 +21,7 @@ - + diff --git a/static/pdfviewer-privacy-policy.html b/static/pdfviewer-privacy-policy.html index 87774429..ce487f2f 100644 --- a/static/pdfviewer-privacy-policy.html +++ b/static/pdfviewer-privacy-policy.html @@ -21,7 +21,7 @@ - + diff --git a/static/releases.html b/static/releases.html index 9236a2d6..68b566b6 100644 --- a/static/releases.html +++ b/static/releases.html @@ -21,7 +21,7 @@ - + diff --git a/static/source.html b/static/source.html index a290ef50..be30d86c 100644 --- a/static/source.html +++ b/static/source.html @@ -21,7 +21,7 @@ - + diff --git a/static/usage.html b/static/usage.html index 1f7f8bf4..46db323a 100644 --- a/static/usage.html +++ b/static/usage.html @@ -21,7 +21,7 @@ - +