Skip to content

Fix iPhone Safari mobile paper layout in 0.9.4 - #10

Open
Digidai wants to merge 1 commit into
mainfrom
cursor/writer-mobile-paper-ios-70e6
Open

Fix iPhone Safari mobile paper layout in 0.9.4#10
Digidai wants to merge 1 commit into
mainfrom
cursor/writer-mobile-paper-ios-70e6

Conversation

@Digidai

@Digidai Digidai commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • switch editor markup to sheet > well > (mirror + textarea) so mobile inset is owned by a real inner wrapper instead of textarea-covered parent padding
  • rework mobile paper CSS to use .sheet { flex: 1 1 0; min-height: 0; } with .well margin inset and no mobile sheet padding
  • update resize() to keep mobile height CSS-owned unless content overflows the .well, clearing inline height when content shrinks
  • add static asset cache-busting query params (?v=0.9.4) for editor/archive/settings pages and server-rendered pages via WRITER_VERSION
  • bump version metadata and changelog to 0.9.4
  • refresh mobile editor regression tests for .well markup, mobile CSS inset strategy, overflow-only resize behavior, and versioned assets

Validation

  • node --test test/mobile-editor-ui.test.js
  • npm test
  • npm run check
Open in Web Open in Cursor 

Co-authored-by: Gene Dai <Digidai@users.noreply.github.com>
@Digidai
Digidai marked this pull request as ready for review August 17, 2026 04:32
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

cursor Bot pushed a commit that referenced this pull request Aug 17, 2026
Co-authored-by: Gene Dai <Digidai@users.noreply.github.com>
@cursor
cursor Bot deleted the cursor/writer-mobile-paper-ios-70e6 branch August 17, 2026 04:32
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