Skip to content

feat(css): reflow wide decks for portrait phones#6

Open
Reebz wants to merge 1 commit into
bluedusk:mainfrom
Reebz:feat/responsive-presentation
Open

feat(css): reflow wide decks for portrait phones#6
Reebz wants to merge 1 commit into
bluedusk:mainfrom
Reebz:feat/responsive-presentation

Conversation

@Reebz

@Reebz Reebz commented Jun 9, 2026

Copy link
Copy Markdown

What

A landscape-composed deck clipped on portrait phones because the wide grids and rows never reflowed.

  • A @media (max-width: 700px) block collapses the multi-column grids to a single column, stacks the horizontal flex rows, and rotates the architecture arrow to point down when the row is stacked. .slide { overflow: hidden } is left intact, so reflow keeps the no-scroll invariant rather than forcing a scroll.
  • A CSS-only .rotate-hint block, gated on a portrait narrow-width query, shows a hint with no JavaScript and clears on rotation to landscape. It is opt-in, framed in SKILL.md as a choice for intentionally landscape-only decks. The default stays adapt-to-portrait via the reflow block.
  • The type clamp() floors in viewport-base.css are lifted so body and small text hold a legible minimum. A slide that would have shrunk past the floor now overflows instead, which is the intended fit-failure signal for the author to split the slide.

Test

  • At a portrait phone width, flip grids and use-case grids become single column and stat and architecture rows stack, with no horizontal clipping. Desktop and landscape widths are unchanged.
  • The rotate hint appears only in portrait below the width threshold and disappears on rotation, with no script involved.
  • Body text never renders below the new minimum size.

Dependencies

Touches components.css, so it is cleanest to merge after the safe-area and reduced-motion PR.

Co-Authored-By: Leslie Barbara Knope (Claude Opus 4.8 (1M context)) noreply@anthropic.com

Landscape-composed decks clipped on portrait phones because wide grids and rows never reflowed. Collapse multi-column grids to a single column and stack horizontal rows under a portrait breakpoint, add a CSS-only rotate hint for intentionally landscape-only decks, and lift the type clamp floors so text holds a legible minimum instead of shrinking past readability.

Co-Authored-By: Leslie Barbara Knope (Claude Opus 4.8 (1M context)) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

@Reebz is attempting to deploy a commit to the bluedusk's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant