Seamless safe areas, sign-in card centred (#105) #108

Closed
kayg wants to merge 0 commits from issue/105-safe-areas into dev
Owner

Fixes #105.

  • The page's edge colours now come from the sky (--edge-top, --edge-bottom on html, plus theme-color), so Safari's status bar and floating toolbar tint as more sky, not beige. The body no longer paints its own paper colour.
  • Full-screen views use --vh: 100svh (was 100dvh): nothing reflows when the toolbar collapses. The sky is fixed and always fills the whole screen.
  • Sign-in and setup: card centred between the real edges (was bottom-aligned on phones), padded by all four safe-area insets.
  • e2e safe-areas.spec.ts: fakes the insets through the --safe-* variables, checks the card centre and the bottom bar, 390x844 and 844x390, light and dark, Chromium and WebKit.

🤖 Generated with Claude Code

Fixes #105. - The page's edge colours now come from the sky (`--edge-top`, `--edge-bottom` on `html`, plus `theme-color`), so Safari's status bar and floating toolbar tint as more sky, not beige. The body no longer paints its own paper colour. - Full-screen views use `--vh: 100svh` (was `100dvh`): nothing reflows when the toolbar collapses. The sky is fixed and always fills the whole screen. - Sign-in and setup: card centred between the real edges (was bottom-aligned on phones), padded by all four safe-area insets. - e2e `safe-areas.spec.ts`: fakes the insets through the `--safe-*` variables, checks the card centre and the bottom bar, 390x844 and 844x390, light and dark, Chromium and WebKit. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Seamless safe areas: sky edge colours for Safari's bars, svh height, sign-in card centred (#105)
Some checks failed
CI / web (pull_request) Failing after 2m6s
CI / rust (pull_request) Successful in 2m22s
8031c210ee
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Review: I read the diff and looked at the screenshots myself.

  • Sign-in and setup: the card is centred in portrait and landscape.
  • Sky: it fills the whole screen, and html now paints the sky's edge colours, so Safari's bars should tint as sky.
  • App, phone width: the paper page reaches the edges.

Two things noted, not blocking:

  • The app screenshots look swapped between light and dark. My guess is the dark theme is saved on the server and carries over between tests; this PR doesn't cause it.
  • With svh the layout never jumps, but with Safari's toolbar collapsed there may be a strip of sky below the bottom bar. kayg will check this on the phone.

Merging before CI finishes: only CSS and Svelte changed, and kayg is waiting on this to sign in. CI stays running on this PR, and I'll fix forward if it fails.

Review: I read the diff and looked at the screenshots myself. - **Sign-in and setup:** the card is centred in portrait and landscape. - **Sky:** it fills the whole screen, and `html` now paints the sky's edge colours, so Safari's bars should tint as sky. - **App, phone width:** the paper page reaches the edges. **Two things noted, not blocking:** - The app screenshots look swapped between light and dark. My guess is the dark theme is saved on the server and carries over between tests; this PR doesn't cause it. - With `svh` the layout never jumps, but with Safari's toolbar collapsed there may be a strip of sky below the bottom bar. kayg will check this on the phone. **Merging before CI finishes:** only CSS and Svelte changed, and kayg is waiting on this to sign in. CI stays running on this PR, and I'll fix forward if it fails.
Author
Owner

Closing: this branch is already fully contained in dev (it landed through a merge train). Branch cleanup, 2026-10-15.

Closing: this branch is already fully contained in `dev` (it landed through a merge train). Branch cleanup, 2026-10-15.
kayg closed this pull request 2026-10-15 08:35:07 +00:00
Some checks failed
CI / web (pull_request) Failing after 2m6s
CI / rust (pull_request) Successful in 2m22s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!108
No description provided.