Skip to content

Phone: raise and shrink the period, and fix play after leaving the page - #51

Merged
ashrawan merged 3 commits into
mainfrom
claude/project-thread-d6frdd
Nov 28, 2026
Merged

ashrawan merged 3 commits into
mainfrom
claude/project-thread-d6frdd

Conversation

@ashrawan

@ashrawan ashrawan commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Requested by Shrawan · project thread

What this changes

  • On a phone in full screen (body.fullscreen, top not peeking), the view's title and the period move up from about 60 px to 14 px and 10 px, plus the safe-area inset for the notch. They slide back down while the top peeks in. Several views (body.multi) keep their own placement.
  • On a phone the period is smaller (26 px instead of 34 px), so it is about the size of the title.
  • Leaving the page now pauses play. When the page comes back, pressing play wakes the sound again: the check now accepts Safari's interrupted state as well as suspended.

Why

All three were asked for. On a phone, leaving the app and coming back left play stuck. The phone stops the page's sound while it is away, so a voice line being said never ended, and play waited on it for good. Paused instead, the line is kept where it was and goes on when play is pressed again.

Kind

  • The page (site/)

Related issue, if any: none (small fixes asked for in the project thread)

Sources

  • None (no data changed).

Screenshots

Phone only, since nothing changes on a wide screen. The before and after shots are in the project files under phone-fullscreen-top/.

Local link to see it: /wiki/dinosaurs, press play, then full screen.

Checklist

  • node scripts/build.mjs --check prints 0 errors
  • node --test passes
  • Every date I added or changed has a source listed on the entry
  • I did not change the id of an existing entry or view
  • Screenshots are included, or nothing on the page changes
  • If I changed the page, the browser console is clean at 1440 and 390 px (checked at 390 only; light testing on request)
  • An AI assistant helped with this change, and I checked its facts against the sources (tick only if it applies)
  • I agree my contribution is licensed as described in LICENSE (MIT for code, CC BY-NC-SA 4.0 for content)

🤖 Generated with Claude Code

https://claude.ai/code/session_01MCuMSjSBeaovndtjLd67kn

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjSBeaovndtjLd67kn
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ubiquitous-smakager-593fec ready!

Name Link
🔨 Latest commit 44a1893
🔍 Latest deploy log https://app.netlify.com/projects/ubiquitous-smakager-593fec/deploys/6b0a8cb5183f6f5fb5772ae7
😎 Deploy Preview https://deploy-preview-51--ubiquitous-smakager-593fec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

… sound on return

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjSBeaovndtjLd67kn
@ashrawan ashrawan changed the title Raise the view title and period in phone full screen Phone: raise and shrink the period, and fix play after leaving the page Nov 28, 2026
…e a lost map on return

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjSBeaovndtjLd67kn
@ashrawan
ashrawan merged commit a09bd1a into main Nov 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants