🐞 fix: Update footer color for chrome tinting and adjust related tests for iOS compatibility
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 5s

This commit is contained in:
Keith Solomon
2026-07-12 14:50:34 -05:00
parent c82e6187af
commit 2b0daaa699
3 changed files with 19 additions and 14 deletions
+9 -6
View File
@@ -81,9 +81,11 @@ main#maincontent {
* backgroundColor is updated at runtime by
* static/js/modules/ChromeTint.js.
*
* The elements have no background by default — they only become
* opaque when the matching element (header / footer) is in view.
* pointer-events: none ensures they never intercept clicks.
* The elements are kept as small as possible (12px tall) so they
* stay well within the iOS safe-area insets and don't intrude into
* the page content. They have no background by default — they only
* become opaque when the matching element (header / footer) is in
* view. pointer-events: none ensures they never intercept clicks.
*
* (iOS 26 ignores <meta name="theme-color">; this technique is
* what replaced it.)
@@ -96,9 +98,10 @@ main#maincontent {
.chrome-tint--top {
left: 0;
min-height: 15px;
min-height: 12px;
top: 4px;
/* 4px from top + 15px tall = within the 4px-to-12px sampling window. */
/* 4px from top + 12px tall = within the 4px-to-12px iOS 26
sampling window for top status bar tinting. */
width: 90%;
/* width: 90% > 80% iOS minimum for being sampled. */
}
@@ -107,6 +110,6 @@ main#maincontent {
bottom: 3px;
/* 3px from bottom = within the 3px iOS sampling window. */
left: 0;
min-height: 15px;
min-height: 12px;
width: 90%;
}