feat(css): reflow wide decks for portrait phones#6
Open
Reebz wants to merge 1 commit into
Open
Conversation
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>
|
@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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A landscape-composed deck clipped on portrait phones because the wide grids and rows never reflowed.
@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..rotate-hintblock, gated on a portrait narrow-width query, shows a hint with no JavaScript and clears on rotation to landscape. It is opt-in, framed inSKILL.mdas a choice for intentionally landscape-only decks. The default stays adapt-to-portrait via the reflow block.clamp()floors inviewport-base.cssare 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
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