Skip to content

Fix horizontal scroll for pricing table on small screens#21

Merged
acoshift merged 1 commit into
mainfrom
claude/mobile-pricing-table-scroll-dq54kz
Jun 23, 2026
Merged

Fix horizontal scroll for pricing table on small screens#21
acoshift merged 1 commit into
mainfrom
claude/mobile-pricing-table-scroll-dq54kz

Conversation

@acoshift

Copy link
Copy Markdown
Member

Problem

On small/mobile screens, the pricing table couldn't be scrolled to the right. The .price-table-wrap container used overflow: hidden (needed to clip its rounded corners), which also blocked horizontal scrolling. When the table exceeded the viewport width — the Price and Free tier columns use white-space: nowrap — there was no way to see the cut-off content.

Fix

Change .price-table-wrap from overflow: hidden to overflow-x: auto (keeping overflow-y: hidden so the rounded-corner clip is preserved), and add -webkit-overflow-scrolling: touch for momentum scrolling on iOS.

This is a small semantic SCSS change in assets/style/_components.scss; no markup changes needed.

🤖 Generated with Claude Code


Generated by Claude Code

The .price-table-wrap used overflow: hidden to clip its rounded corners,
which also blocked horizontal scrolling. On narrow viewports the table
could exceed the viewport width (nowrap price/free-tier columns) with no
way to scroll right. Switch to overflow-x: auto (keeping overflow-y
hidden for the corner clip) and enable momentum scrolling on iOS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A1KoH2AxFgNYub3PGaZ7uX
@deploys-app
deploys-app Bot temporarily deployed to pr-21 June 23, 2026 12:09 Destroyed
@deploys-app

deploys-app Bot commented Jun 23, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift
acoshift marked this pull request as ready for review June 23, 2026 12:18
@acoshift
acoshift merged commit 62b227d into main Jun 23, 2026
1 check passed
@acoshift
acoshift deleted the claude/mobile-pricing-table-scroll-dq54kz branch June 23, 2026 12:30
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