Commit 8084339
committed
Restore real mobile safe-area padding
ChoicePanel relied on an undefined pb-safe utility, so the shipped CSS gave the mobile choices no actual home-indicator inset. Use the native CSS safe-area env() value directly and add a repository guard so the no-op class does not return.
Constraint: The project ships static CSS bundles without a pb-safe utility.
Rejected: Add Tailwind configuration or a new stylesheet utility | broader than needed for a one-off inset fix.
Confidence: high
Scope-risk: narrow
Directive: Do not reintroduce pb-safe unless the shipped CSS generator is restored and verified.
Tested: python3 -m py_compile scripts/check_repository.py; python3 scripts/check_repository.py; npm run verify; npm audit --omit=dev; git diff --check
Not-tested: Physical iOS home-indicator device rendering.1 parent 56b0412 commit 8084339
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
0 commit comments