Skip to content

Fix mobile UI/UX for app and marketing site#50

Merged
mohabbis merged 1 commit into
masterfrom
claude/mobile-ui-ux-bugs-hgth8p
Jun 23, 2026
Merged

Fix mobile UI/UX for app and marketing site#50
mohabbis merged 1 commit into
masterfrom
claude/mobile-ui-ux-bugs-hgth8p

Conversation

@mohabbis

Copy link
Copy Markdown
Owner

Summary

Fixes a set of mobile UI/UX bugs across both the desktop app shell (src/) and the marketing website (public/).

Marketing site (public/)

  • Mobile navigation was broken. Below 560px the nav links (How it helps, Examples, Privacy, Try it) were display: none, leaving phone users with no way to navigate. Added an accessible tap-to-open hamburger dropdown (aria-expanded/aria-controls, closes on link tap, outside click, and resize back to desktop).
  • Horizontal scroll guard. overflow-x: clip on html (keeps position: sticky working) plus overflow-wrap: break-word on display headings so long words / oversized type don't punch through the viewport.
  • Demo result header now wraps so the reliability badge drops below the task text instead of squeezing it on narrow screens.
  • Modals capped to min(…, 92vw) so they never overflow the viewport.

App (src/)

  • Added a small-phone (<=560px) breakpoint: tighter shell/panel/mission padding, and the onboarding Record → Learn → Replay flow now stacks vertically (arrows rotate to point down) instead of cramming three columns + arrows into the narrow card.
  • Mirrored the overflow-x / heading-wrap guards into the shared design system (styles.css).
  • Analysis/settings modals capped to min(…, 92vw).

Notes

  • No Tauri invoke calls were touched, so the IPC contract is unchanged.
  • src/ and public/ shared pieces were updated in parallel by hand, per the repo's sync guidance; the new hamburger markup/JS is marketing-site only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ly3R3zUAYE4GmDqePK8UGh


Generated by Claude Code

Marketing site (public/):
- Add a tap-to-open hamburger menu below 560px; previously the nav links
  vanished entirely, leaving no way to navigate on phones.
- Guard against horizontal scroll (overflow-x: clip on html, word-break on
  display headings).
- Let the demo result header wrap so the reliability badge no longer
  squeezes the task text on narrow screens.
- Cap modals to 92vw so they never overflow the viewport.

App (src/):
- Add a small-phone (<=560px) breakpoint: tighter shell/panel padding and a
  vertically-stacked onboarding Record→Learn→Replay flow instead of a
  cramped 3-column row.
- Mirror the overflow-x / heading-wrap guards into the shared design system.
- Cap analysis/settings modals to 92vw.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ly3R3zUAYE4GmDqePK8UGh
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ghost Ready Ready Preview, Comment Jun 23, 2026 3:36pm

@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for muhammadghost ready!

Name Link
🔨 Latest commit 5777a37
🔍 Latest deploy log https://app.netlify.com/projects/muhammadghost/deploys/6a3aa7f1746f78000849d182
😎 Deploy Preview https://deploy-preview-50--muhammadghost.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@mohabbis mohabbis marked this pull request as ready for review June 23, 2026 15:36
@mohabbis mohabbis merged commit 4493523 into master Jun 23, 2026
16 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5777a371fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread public/styles.css
Comment on lines +1114 to +1117
.nav__toggle {
display: flex;
margin-left: auto;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the mobile header within the viewport

At the <=560px breakpoint this makes the 44px hamburger visible while the existing header Download CTA remains visible after it (.nav .btn { width: auto } below). On the supported 320px CSS viewport, .site-shell is only 292px wide and the nav content area is 268px after padding, so the brand + hamburger + Download button + two 20px gaps cannot fit; with the new overflow-x: clip, the overflow is clipped rather than scrollable. Hide the standalone CTA at this breakpoint or move it into the dropdown so small-phone users can still reach the full control.

Useful? React with 👍 / 👎.

Comment thread public/styles.css
Comment on lines 1119 to +1121
.nav__links {
position: absolute;
top: calc(100% + 10px);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Raise the mobile dropdown above page content

I checked the later 2026 refresh block in this same stylesheet, which still resets .nav and the following hero/sections to position: relative; z-index: 1 after this media query. Because the new menu is absolutely positioned under the header, opening it on phones puts it over the hero area, but the hero's equal-z-index stacking context is later in the DOM and can paint above the dropdown, hiding or intercepting most of its links. Give the mobile nav/dropdown a higher z-index after the refresh block so the menu remains visible and clickable.

Useful? React with 👍 / 👎.

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