Skip to content

Add mobile burger menu and fix playground scrolling on phones - #14

Merged
manucorporat merged 3 commits into
masterfrom
claude/mobile-nav-scrolling-wg31kf
Jul 21, 2026
Merged

Add mobile burger menu and fix playground scrolling on phones#14
manucorporat merged 3 commits into
masterfrom
claude/mobile-nav-scrolling-wg31kf

Conversation

@manucorporat

Copy link
Copy Markdown
Owner

The topbar's links were simply hidden below 680px, leaving no way to
reach the playground or docs from a phone. Extract the copy-pasted
header into a shared TopBar component with a burger button that drops
the full link list down as a panel; the active page keeps its
aria-current highlight.

On mobile the playground's Monaco editor was a fixed 320px box that
scrolled internally, so touch swipes over the code never scrolled the
page, and the default Split view collapsed to Code-only, hiding the
rendered output entirely after Run. Now narrow screens stack Split's
panes into one scrolling column, the editor grows to fit its content
(no nested scroll trap), Monaco stops swallowing wheel events at its
scroll limits, and the view tabs go icon-only so the example selector
stays readable next to Run.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BV8uscy25DJ1ZYJv8a6yKu

The topbar's links were simply hidden below 680px, leaving no way to
reach the playground or docs from a phone. Extract the copy-pasted
header into a shared TopBar component with a burger button that drops
the full link list down as a panel; the active page keeps its
aria-current highlight.

On mobile the playground's Monaco editor was a fixed 320px box that
scrolled internally, so touch swipes over the code never scrolled the
page, and the default Split view collapsed to Code-only, hiding the
rendered output entirely after Run. Now narrow screens stack Split's
panes into one scrolling column, the editor grows to fit its content
(no nested scroll trap), Monaco stops swallowing wheel events at its
scroll limits, and the view tabs go icon-only so the example selector
stays readable next to Run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BV8uscy25DJ1ZYJv8a6yKu
@netlify

netlify Bot commented Jul 21, 2026

Copy link
Copy Markdown

Deploy Preview for noise-lang ready!

Name Link
🔨 Latest commit e4ba433
🔍 Latest deploy log https://app.netlify.com/projects/noise-lang/deploys/6a5f88a138413600080361d3
😎 Deploy Preview https://deploy-preview-14--noise-lang.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.

claude added 2 commits July 21, 2026 12:59
On phones the playground now behaves like an app screen: exactly one
pane at a time (Code or Render — Split resolves to Code again), sized
to fill the viewport below the topbar. Monaco scrolls internally as it
does on desktop, the Render paper scrolls within its own pane, and the
play page hides the embed prose and footer under 880px so there is
nothing after the playground to scroll to.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BV8uscy25DJ1ZYJv8a6yKu
On phones the engine readout keeps only time and backend (the samples
chip and its separator hide), so the header stops wrapping into a
pile of lines. The details hover panel used to hang off the left edge
of the screen — its absolute anchor was the readout itself; on narrow
screens it now anchors to the header row, spanning its width and
scrolling internally when the engine notes run long.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BV8uscy25DJ1ZYJv8a6yKu
@manucorporat
manucorporat merged commit 42da9d9 into master Jul 21, 2026
8 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