Skip to content

fix(ui): responsive mobile padding on auth, terms, privacy, and settings pages#1052

Merged
timothyfroehlich merged 7 commits intomainfrom
design/phase3-padding-fixes
Feb 23, 2026
Merged

fix(ui): responsive mobile padding on auth, terms, privacy, and settings pages#1052
timothyfroehlich merged 7 commits intomainfrom
design/phase3-padding-fixes

Conversation

@timothyfroehlich
Copy link
Copy Markdown
Owner

Summary

  • Auth pages (login, signup, forgot-password, reset-password): changed px-6px-4 sm:px-6 in the shared auth layout. This gives the login card ~16px more horizontal space on 375px mobile viewports.
  • Terms and Privacy pages: added px-4 sm:px-6 to their max-w-3xl mx-auto containers, which had no own horizontal padding.
  • Settings page: added px-4 sm:px-6 to its container max-w-3xl wrapper, which only had vertical py-6 and no horizontal padding.

These pages previously relied entirely on the flat p-6 (24px) from MainLayout for horizontal margin. Making the padding responsive and explicit on the page containers makes them consistent with the PageShell pattern already used by about, whats-new, and help pages.

Test plan

  • pnpm run check passes (690 tests, no lint/type errors)
  • Visually verify at 375px viewport: auth card, terms card, privacy card, and settings sections all have visible margins and nothing flush with screen edges

🤖 Generated with Claude Code

…ettings pages

Pages using centered card/narrow layouts lacked responsive horizontal
padding on mobile (375px viewport). Auth layout had flat px-6 (24px);
terms, privacy, and settings max-w-* containers had no own px-*.

- auth layout: px-6 → px-4 sm:px-6 (more card space on narrow screens)
- terms, privacy: add px-4 sm:px-6 to max-w-3xl containers
- settings: add px-4 sm:px-6 to container max-w-3xl wrapper

Resolves PinPoint-o3sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 22, 2026 15:31
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 22, 2026

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

Project Deployment Actions Updated (UTC)
pin-point Ready Ready Preview, Comment Feb 22, 2026 5:13pm

@supabase
Copy link
Copy Markdown

supabase Bot commented Feb 22, 2026

Updates to Preview Branch (design/phase3-padding-fixes) ↗︎

Deployments Status Updated
Database Sun, 22 Feb 2026 17:12:36 UTC
Services Sun, 22 Feb 2026 17:12:36 UTC
APIs Sun, 22 Feb 2026 17:12:36 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Sun, 22 Feb 2026 17:12:37 UTC
Migrations Sun, 22 Feb 2026 17:12:37 UTC
Seeding Sun, 22 Feb 2026 17:12:37 UTC
Edge Functions Sun, 22 Feb 2026 17:12:37 UTC

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes responsive mobile padding across auth, legal, and settings pages to improve mobile viewport usability at 375px width. Previously, these pages used fixed 24px horizontal padding from either the auth layout or MainLayout, causing cramped layouts on narrow screens. This change aligns them with the responsive padding pattern already used by issues, machines, and other data-heavy pages.

Changes:

  • Auth layout (login, signup, forgot-password, reset-password): Reduced mobile padding from 24px to 16px horizontally, freeing 16px more space for auth card content
  • Terms and Privacy pages: Added responsive padding (px-4 sm:px-6) to page containers that previously had no explicit horizontal padding
  • Settings page: Added responsive padding (px-4 sm:px-6) to the container, consistent with other app pages

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/app/(auth)/layout.tsx Changed auth layout padding from px-6 to px-4 sm:px-6 for responsive mobile spacing
src/app/(app)/terms/page.tsx Added px-4 sm:px-6 to terms page container for consistent responsive padding
src/app/(app)/privacy/page.tsx Added px-4 sm:px-6 to privacy page container for consistent responsive padding
src/app/(app)/settings/page.tsx Added px-4 sm:px-6 to settings page container for consistent responsive padding

timothyfroehlich and others added 2 commits February 22, 2026 09:49
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
actions/checkout@v4 → @v6, setup-node@v4 → @v6, cache@v4 → @v5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 22, 2026 15:51
@timothyfroehlich
Copy link
Copy Markdown
Owner Author

!screenshots

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/pr-screenshots.yml Outdated
Comment thread .github/workflows/pr-screenshots.yml Outdated
Comment thread .github/workflows/pr-screenshots.yml Outdated
Comment thread .github/workflows/pr-screenshots.yml Outdated
Replace ad-hoc max-w-*/px-* container divs on privacy, terms,
settings, and issues pages with the existing PageShell component.
This centralizes responsive padding and max-width constraints so
future changes only need to touch one component.

Auth layout (src/app/(auth)/layout.tsx) is intentionally left alone —
it is outside the app shell and uses a standalone centered card layout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Comment thread src/app/(app)/terms/page.tsx Outdated
Comment thread src/app/(app)/privacy/page.tsx Outdated
Comment thread src/app/(app)/settings/page.tsx Outdated
Comment thread src/app/(app)/issues/page.tsx Outdated
Comment thread src/app/(app)/issues/page.tsx Outdated
MainLayout already wraps all (app) children in `p-6` (24px). Using
PageShell with default padded=true stacked px-6/py-10 on top, doubling
horizontal padding from 24px to 48px per side on mobile — the opposite
of the intended fix.

Switch all four PageShell usages to padded={false} so they only
contribute max-width centering. Restore original vertical padding on
settings (py-6) and issues (py-8) that was lost in the previous commit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@timothyfroehlich timothyfroehlich added the ready-for-review PR passed CI and has no unresolved review comments label Feb 22, 2026
@timothyfroehlich
Copy link
Copy Markdown
Owner Author

!screenshots

@github-actions
Copy link
Copy Markdown
Contributor

📸 Screenshot Report

View interactive Playwright report

Captured across Desktop (1280×720), iPhone 13 Mini (375×812, WebKit), and Pixel 5 viewports.

@timothyfroehlich timothyfroehlich merged commit dd8a1b5 into main Feb 23, 2026
44 checks passed
@timothyfroehlich timothyfroehlich deleted the design/phase3-padding-fixes branch February 23, 2026 02:08
github-actions Bot added a commit that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review PR passed CI and has no unresolved review comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants